reema0902
Posts: 8
Joined: Fri Aug 11, 2023 6:31 am

Variwide Issue

Zooming in to the same point on variwide chart, y axis and bar disappears.
Cannot set getExtremesForAll property as we want y axis to scale
jedrzej.r
Posts: 700
Joined: Tue Jan 24, 2023 11:21 am

Re: Variwide Issue

Hi!

Welcome to our forum and thanks for contacting us with your issue!

I've tried to reproduce your issue in a varivide chart, but to no avail, since the yAxis is displayed even when zooming into one point. Could you please provide your config, so that I can investigate it further? You can start by editing below demo: https://jsfiddle.net/BlackLabel/dgLmbuzj/.

I'm waiting for your reply.
Best regards!
Jędrzej Ruta
Highcharts Developer
reema0902
Posts: 8
Joined: Fri Aug 11, 2023 6:31 am

Re: Variwide Issue

On zooming in multiple times, dataMin and dataMax becomes null due to which the graph is not able to plot itself and also Y-axis disappears, if i add getExtremesForAll : true then graph shows up but Y-axis does not scale.
jedrzej.r
Posts: 700
Joined: Tue Jan 24, 2023 11:21 am

Re: Variwide Issue

Thanks for explaining the details of this issue. Unfortunately, I still wasn't able to reproduce this problem after multiple tries. Could you perhaps record the screen with steps to reproduce, so that I can have a deeper look on this problem? Only that I can help you find the solution to this obstacle.

I'm waiting for your reply.
Best regards!
Jędrzej Ruta
Highcharts Developer
reema0902
Posts: 8
Joined: Fri Aug 11, 2023 6:31 am

Re: Variwide Issue

1. Set X, Y and Z axis - Y axis contains [0] and [1] values. ignore Z axis for now
2. I am using datetime in the X axis and Y axis has numbers. y[0] has some values and y[1] has other number values
3. Zoom in to the x-axis..
4. y[1] should change and refresh everytime I zoom in
5. when I select the same point to zoom, dataMin = null and dataMax=null, At this state I set the Yaxis again with the setExtremes Method but still the points cannot plot the graph and the bar disappears
reema0902
Posts: 8
Joined: Fri Aug 11, 2023 6:31 am

Re: Variwide Issue

Response awaited as it's a critical bug
reema0902
Posts: 8
Joined: Fri Aug 11, 2023 6:31 am

Re: Variwide Issue

This is not just a variwide issue. I see this issue occurring in column chart zoom with 2 y-axis.

zooming on the same point makes the graph to disappear.
jedrzej.r
Posts: 700
Joined: Tue Jan 24, 2023 11:21 am

Re: Variwide Issue

Unfortunately, I'm still not able to reproduce this issue, as everything seems to work fine on my end. If you could share your config or provide the working demo, then it'll be much easier for me to debug this issue and come with a solution to this particular problem. You can start by editing this fiddle: https://jsfiddle.net/BlackLabel/dgLmbuzj/.

I'm waiting for your reply.
Best regards!
Jędrzej Ruta
Highcharts Developer
reema0902
Posts: 8
Joined: Fri Aug 11, 2023 6:31 am

Re: Variwide Issue

Hi,
I was able to reproduce this issue on this fiddle:
Please check.
https://jsfiddle.net/n2zemo8f/2/
1. My x-axis type is datetime.
2. Zoom in multiple times on the same point and you see that the y-axis disappears.
reema0902
Posts: 8
Joined: Fri Aug 11, 2023 6:31 am

Re: Variwide Issue

Even if you change the series type on the y-axis to column , you will still see that the bars disappear.
reema0902
Posts: 8
Joined: Fri Aug 11, 2023 6:31 am

Re: Variwide Issue

getExtremesFromAll: true , if we do this it shows the Y-axis, but we don't want to do that as we want Y-axis to change(Scale) on zooming.
jedrzej.r
Posts: 700
Joined: Tue Jan 24, 2023 11:21 am

Re: Variwide Issue

Thanks for providing a demo, I can see now what is the problem. This is a known issue that exists in column and varivide series: https://github.com/highcharts/highcharts/issues/14182. You can use one of workarounds proposed there and leave your feedback in order to unstale this issue, so that it might get fixed in near future.

Let me know if you have any further questions!
Best regards!
Jędrzej Ruta
Highcharts Developer

Return to “Highcharts Stock”