A workaround hack: If I change line 157 in BEMLine.m from this:
if (!self.disableMainLine && self.bezierCurveIsEnabled) {
to this:
if (!self.disableMainLine && self.bezierCurveIsEnabled && self.points.count && self.bottomPointsArray.count && self.topPointsArray.count) {
it works OK.
This points to an apparent problem with my data array being empty, I think, although that shouldn't be the case. Is there some better way to avoid having BEMLine trying to draw with an empty data set?
I really appreciate using BEMSimpleLineGraph. Thanks for any help.
A workaround hack: If I change line 157 in BEMLine.m from this:
if (!self.disableMainLine && self.bezierCurveIsEnabled) {to this:
if (!self.disableMainLine && self.bezierCurveIsEnabled && self.points.count && self.bottomPointsArray.count && self.topPointsArray.count) {it works OK.
This points to an apparent problem with my data array being empty, I think, although that shouldn't be the case. Is there some better way to avoid having BEMLine trying to draw with an empty data set?
I really appreciate using BEMSimpleLineGraph. Thanks for any help.