MrSnrub
MrSnrub

Reputation: 455

Highstock: Remove the word "Zoom" from the rangeSelector

Is there a way to remove the word "Zoom" from the rangeSelector in HighStock? It's self-explanatory what the bar does, and the word takes up real estate that I could use to add another zoom option, like "1w" for one week.

Upvotes: 4

Views: 963

Answers (2)

Saurabh Agrawal
Saurabh Agrawal

Reputation: 7739

use this it will work fine

Highcharts.setOptions({
  lang:{
    rangeSelectorZoom: ''
  }
});

Upvotes: 3

Nishith Kant Chaturvedi
Nishith Kant Chaturvedi

Reputation: 4769

Use following css

.highcharts-range-selector-buttons>text:first-child{
 display:none;
}

Here is working fiddle

Upvotes: 2

Related Questions