I think there is a bug in the CPAxis class. In function -
(void)tickLocationsBeginningAt:(NSDecimal)beginNumber
increasing:(BOOL)increasing
majorTickLocations:(NSSet **)newMajorLocations minorTickLocations:(NSSet
**)newMinorLocations
there is while-circle with condition ( range &&
(increasing && CPDecimalLessThanOrEqualTo(coord, range.end)) ||
(!increasing && CPDecimalGreaterThanOrEqualTo(coord, range.location)) ). I think that this
condition must be ( range &&
( (increasing && CPDecimalLessThanOrEqualTo(coord, range.end)) ||
(!increasing && CPDecimalGreaterThanOrEqualTo(coord, range.location)) ) ) because if
range is nil range.end and range.location aren't correct.
Original issue reported on code.google.com by sasko...@rambler.ru on 16 Mar 2010 at 9:23
Original issue reported on code.google.com by
sasko...@rambler.ru
on 16 Mar 2010 at 9:23