Home Forums Chart Support Render graph in HTML Canvas Reply To: Render graph in HTML Canvas

#45165

@ben-haestqed-lu,

The chart container has to be a div, not a canvas, as shown in the code snippet below:

<div id="myChart" style="border:1px solid #000000; margin-right: auto; margin-left: auto; display: block;"></div>

Please take a look at this docs page for a step-by-step tutorial on creating a chart.


Thangaraj Raman
Team CanvasJS