Home forums Using CanvasJS 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.

Here is one related Stackoverflow thread.

Hope this helps.


Sunil Urs