I am using this script which is one of the examples provided by the graph itself. When I put this on a web-page by itself, it’s drawing the graph. But when I embed the code in an already existing web-page (with some content), it doesn’t draw a graph.
I did the experiment using img src and its working fine.
But I just wanted to submit some parameter along with that graph in same web page.
How do I do that one without using “img src”?
Thanks in advance
Better don’t. It’s best to just use an
<img>element to embed the graph. Use GET parameters to pass values:Creating inline images is theoretically possible using
data:URIs, but it’s not fully supported by Internet Explorer yet.