highcharts / highcharts-ios

iOS wrapper for Highcharts.
Other
127 stars 39 forks source link

Heatmap not working with all versions above v11.2.0 #447

Closed skuske closed 3 months ago

skuske commented 3 months ago

@MikolajMichalczak

I have ported

https://www.highcharts.com/demo/highcharts/calendar-heatmap-month

to Obj-C and it's working fine with v11.2.0 of the wrapper, but it is no longer working with v11.3.0 and above. I am not getting any error, the chart area is just blank, the color legend appears.

Attached is the sample Xcode project. Note: PODs removed from zip to make the file smaller.

[FILE REMOVED]

What's the problem and how can I fix it so that it works fine with the latest version of the wrapper?

skuske commented 3 months ago

@MikolajMichalczak

Some additional information after my own debugging.

Removing

    yAxis.min = @0;
    yAxis.max = @5;

makes the heat map work, however, I need to set min and max I think, or will it work fine without settings them? I am not sure about this, although the result looks good so far.

MikolajMichalczak commented 3 months ago

Hi @skuske!

If the max or min value is not provided, it is automatically calculated, so it should work just fine.

skuske commented 3 months ago

@MikolajMichalczak

Many thanks. Issue closed.