You can't set it using the API but it is possible to get to it, but you need a little more knowledge of the library itself.
First, you need to override the function responsible for hiding inputs:
Highcharts.RangeSelector.prototype.hideInput = Highcharts.noop;
and then in the callback function chart.events.render()
call the rangeSelecotr
object the showInput()
method to enable their visibility. In addition, you can hide the text below them and move them slightly apart:
chart: {
events: {
render() {
const rg = this.rangeSelector;
rg.showInput('min');
rg.showInput('max');
rg.inputGroup.css({ opacity: 0 });
rg.minInput.style.left = `${rg.minInput.style.left.match(/\d+/)[0] - 10}px`;
}
}
}
Demo: https://jsfiddle.net/BlackLabel/3ohwusm8/
API: https://api.highcharts.com/highcharts/chart.events.render
React demo: https://codesandbox.io/s/highcharts-react-forked-lvgs24?file=/index.js