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 it Yourself by Editing the Code below.




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