ColumnSeries based chart crash on long touch



I have a ColumnSeries based chart, each series has stackIndex = 1.

When I do a long touch on a Column, the app crashes.

Here is the message :

***Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 2 beyond bounds [0 .. 0]'

This crash occurre even if I comment out the :

[chart.crosshair setDefaultTooltip];

Is that means any thing ? or I’m missing something ?

Thanks in advance.


Hi Mahlaoui!

This may be a corner case issue with stacking - I’m afraid I can’t recreate the issue currently, would you be able to upload a simple view controller which demonstrates this? :slight_smile: I suspect it may be to do with stacking datapoints which have disparate x-values.

Kind regards,