label: String

Sets the label / text for Range Buttons group.

Default: “Range”
Examples: “Zoom”, “Range”, …
var stockChart = new CanvasJS.StockChart("container",
{
 .
 .
 rangeSelector: {
   .
   .
   label: "Zoom",
   .
   .
 },
 .
 .
});
stockChart.render();

Try Editing The Code


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