I’m using ShinobiChart 2.5.4, and I have a custom model object which conforms to the SChartData protocol. For its x value it returns an NSDate *, and for its y value it returns an NSNumber *. My x axis is being automatically calculated correctly, but my y axis is always left at [0, 1], and even manual attempts to change it have very strange behavior.
E.g., calling [chart.yAxissetRangeWithMinimum:chart.yAxis.dataRange.minimumandMaximum:chart.yAxis.dataRange.maximum] returns true (and the minimum and maximum are what I expect - floating point values between 50 and 60), but then my actual axis changes to [-0.25, 1.25]. If I change the yValue function to return an NSDate* instead, the y axis range is then calculated correctly. Can I not use NSNumbers, or is there something special I need to do to make them work? Thanks.