Sets the width of StockChart in pixels.
var stockChart = new CanvasJS.StockChart("container", { . . width: 680, . . }); stockChart.render();
Also See: