Hi,
Objects that speak the CPTPlotDataSource protocol have the option to return an array of double, e.g. doublesForPlot:field:recordIndexRange. For the method numbersForPlot:field:recordIndex, the presence of an NSNull instead of an NSNumber tells Core Plot to just skip that point. Would it be possible for Core Plot to do the same for double values that fail isfinite()?
I know one answer would be to just use an NSNumber array, but it feels like inf, -inf, and NaN values are unplottable in the same way that an explicit NSNull is.
I'm happy to put in a patch, but I thought I'd ask the question here first, and, if a patch is deemed a good idea, a pointer to where in the code this should be made.
Thanks,
Demitri