sam
sam

Reputation: 2820

hide zoom text on rangeSelector

Does anyone know how to hide 'zoom' text on highstock's rangeSelector? I already looked up the API page, but could't find the solution.

enter image description here

Thanks in advance!

Upvotes: 7

Views: 5341

Answers (2)

ama
ama

Reputation: 1595

The rangeSelectorZoom property as suggested by Sebastian is not present in 6.1.0 anymore. A work around if you don't need the From and To Inputs, as it was my case is to not show the label at all:

rangeSelector: {
  labelStyle: {
     display: 'none'
  }
}

Upvotes: 10

Sebastian Bochan
Sebastian Bochan

Reputation: 37588

You can use lang options and set empty string.

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

http://jsfiddle.net/q0ra5tk6/

Upvotes: 20

Related Questions