Home forums Chart Support Rectangular Area chart to scale Reply To: Rectangular Area chart to scale



CanvasJS Chart automatically sets the height and width of the chart according to container’s dimensions. If the values are not set for the container, it takes the default values. So you can just set the width and height of the container in which you are going to place the chart as shown below:

<div id="chartContainer" style="height: 300px; width: 500px;">

Indranil Deo
Team CanvasJS