Sets the range of a Button.
For example, if range is “1” and rangeType is “month”, then button range will be 1 month.
Default: Autovar stockChart = new CanvasJS.StockChart("container", { . . rangeSelector: { . . buttons: [ { . range: 1, . } ] }, . . }); stockChart.render();
Also See: