Home Forums Chart Support Fullsize chart? Reply To: Fullsize chart?

#5424

Hi,

Yes, it is possible. CanvasJS Charts just take the height and width of its container. So you need to make sure the container’s height is 100%. You can do the same by setting height of both body and html to 100%.

html,body{
    height:100%;
}

Here is a JSFiddle that I created.

Setting 100% width and height for chart

Here is one related Stackoverflow thread.

Hope this helps.


Sunil Urs