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

#31966

@jdsanche,

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