Home Forums Chart Support Drawing a graph on a pre-existing canvas Reply To: Drawing a graph on a pre-existing canvas

#8552

Yacob,

As of now it requires a div element inside which the chart is rendered. This is because chart includes various other DOM elements like menu button, etc.

I would suggest rendering chart inside a hidden div element and then copying the content of chart into your canvas using drawImage method.


Sunil Urs