I'm trying to use highcharts xrange to display a large number of categories (>20). currently, I can show the data, but the categories are automatically resized so that they fit the height of the chart
What the client wants is to a. configure the height of the categories to absolute size b. display a vertical scrollbar
Is this possible?
Thanks, Nadav
You can use
scrollablePlotArea
and dynamically calculate theminHeight
property. For example:Live demo: http://jsfiddle.net/BlackLabel/5qp7rv1j/
API Reference:
https://api.highcharts.com/highcharts/chart.scrollablePlotArea
https://api.highcharts.com/class-reference/Highcharts.Chart#update