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

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

Wed Dec 08, 2021 3:12 pm

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!

User avatar
michal.f
Posts: 487
Joined: Thu Aug 12, 2021 12:04 pm

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

Wed Dec 08, 2021 4:22 pm

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

Return to “Highcharts Usage”