height: Number

Sets the height of StockChart in pixels.

Default: Takes StockChart container’s height by default. If the height is not set for the StockChart container, defaults to 600.
Example: 200, 280, 320, …
var stockChart = new CanvasJS.StockChart("container",
{
 .
 .
 height: 280,
 .
 . 
});
stockChart.render();

Try Editing The Code

  Also See:    


If you have any questions, please feel free to ask in our forums.Ask Question