I've had a bit of success at embedding charts in SVG documents, rather than HTML (see attachment).
(To be more precise, in SVG documents includied via <iframe>). For consistency with a lot of
other graphics we serve, we would like to do:
<html>
....
<body>
...
<iframe src="xxx.svg" ...></iframe>
...
With space in the svg to include dynamically generated graphs.
Have only had to change a couple of lines of code here and there.
Main issue I have now, I think, is to get the popup tooltips positioned properly
(they probably don't account for the transformations applied in the SVG).
Before I continue, has anyone one else done anything similar that I could
build on?
elycharts is pretty great, by the way.