paulodiniz
Posts: 5
Joined: Fri Nov 10, 2023 6:06 pm

[BUG] heatmap ticks break after setExtremes call

Hi everyone,

I'm currently working on a project using Heatmap charts with stockChart as the constructorType. I've encountered an issue with the ticks not displaying correctly after calling setExtremes to adjust the position.

I've set up a simple reproduction of the issue here:
https://codesandbox.io/p/devbox/6dk3t7? ... rom=jknqqh

If anyone has experienced something similar or has insights on how to resolve this, your help would be greatly appreciated!

Thank you in advance!here
andrzej.b
Posts: 220
Joined: Mon Jul 15, 2024 12:34 pm

Re: [BUG] heatmap ticks break after setExtremes call

Hi,

Thanks for letting us know about this issue.

I have created a github ticket for this one here: https://github.com/highcharts/highcharts/issues/22067
I invite you to add your comments, watch this issue in the link above, and track any information and workarounds for it.

Please let me know if I can be of any further assistance.

Best regards,
Andrzej
Highcharts Developer
andrzej.b
Posts: 220
Joined: Mon Jul 15, 2024 12:34 pm

Re: [BUG] heatmap ticks break after setExtremes call

Hi,

We have a much more straightforward solution available: you can set the xAxis.ordinal to false (see the API reference)

Please see a sample demo, and compare when ordinal settings are changed: https://jsfiddle.net/BlackLabel/zpm7dhyc/

Hope this resolves the issue and thank you once again for reporting it.

Best regards,
Andrzej
Highcharts Developer
paulodiniz
Posts: 5
Joined: Fri Nov 10, 2023 6:06 pm

Re: [BUG] heatmap ticks break after setExtremes call

andrzej.b wrote: Tue Oct 29, 2024 2:48 pm Hi,

We have a much more straightforward solution available: you can set the xAxis.ordinal to false (see the API reference)

Please see a sample demo, and compare when ordinal settings are changed: https://jsfiddle.net/BlackLabel/zpm7dhyc/

Hope this resolves the issue and thank you once again for reporting it.

Best regards,
Hey Andrezej,

The `xAxis.ordinal` solution worked perfectly.
I'll keep an eye on the long-term solution. (https://github.com/highcharts/highcharts/issues/22067)

:D

Return to “Highcharts Maps”