vamsi426
Posts: 15
Joined: Mon Apr 04, 2022 1:25 pm

change/redraw histogram/normalize curve based on x-axis values and zoom

Below is the link, i have plotted histogram and bellcurve.
1. I want to change/redraw chart based on x-axis min and max values , so that histogram and normalized curve should also change.
2. I have seen highchart has some default zoom option by drag and drop, but here in the below link, i am unable to do it. can you please help in that ?


https://jsfiddle.net/BlackLabel/s7aeq4w6/14/
kamil.m
Posts: 892
Joined: Thu May 19, 2022 1:33 pm

Re: change/redraw histogram/normalize curve based on x-axis values and zoom

Hi there,

1. It is unclear to me what exactly you need to achieve. Could you please explain it a bit further with some examples or screenshots?

2. To enable the zoom option on the chart, set the chart.zoomType to 'xy'. I have enabled it in the demo that you provided.
Docs: https://www.highcharts.com/docs/chart-concepts/zooming
DEMO: https://jsfiddle.net/BlackLabel/6eo80ztb/

Do not hesitate to contact us with any further questions,
Best regards!
Kamil Musiałowski
Highcharts Developer

Return to “Highcharts Usage”