Page 1 of 1

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

Posted: Wed Dec 08, 2021 3:12 pm
by silestis
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!

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

Posted: Wed Dec 08, 2021 4:22 pm
by michal.f
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!