silestis
Posts: 32
Joined: Thu Mar 15, 2018 10:25 am

[Heatmap] How to provide scrollbars when there are a lot of points?

Hi,

is there a possibility to show scrollbars (both vertical and horizontal) when there are a lot of points inside heatmap? That probably means, that we have to define some minimum point width/height, but maybe I am wrong.

Can somebody help us? Thanks a lot!
michal.f
Posts: 1114
Joined: Thu Aug 12, 2021 12:04 pm

Re: [Heatmap] How to provide scrollbars when there are a lot of points?

Hi

Thanks for contacting us with your question!

This is possible but only with using the Highstock library. And yes, then you must define min and max for both axes and enable scrollbars.

For example:

Code: Select all

yAxis: {
	min: 0,
	max: 2,
	scrollbar: {
		enabled: true
	}
},

Demo: https://jsfiddle.net/BlackLabel/kxbpg3rv/
API: https://api.highcharts.com/highstock/xAxis.scrollbar

Let me know if you have any further questions!
Best regards!
Michał Filipiec
Highcharts Developer
https://blacklabel.pl/highcharts/

Return to “Highcharts Usage”