I have written a series of objects in JS utilising SVG to produce SCADA style mimics. In order to use either Flotr or Envision graphs I have created a wrapper object that adds a 'foreignobject' to the document.
The entire MIMIC layout is specified in an XML file, which is loaded at run-time, this means the graph(s) will not be present in the document when it is initially loaded. So far I'm using Flotr, but I'm getting exceptions as it expects the container to be visible at the same time as the script is loaded.
Is there a version of Flotr or Envision that can be loaded and associated with a container after the document has loaded?
Thank you,