You can hide zero or any other value on the axis by customizing the number format of axis’ ticks. Please, see previous question for details.
For example, your conversion code might look like:
- (NSString *)valueAxisDataSourceDouble:(double)value toStringForValueAxis:(NChartValueAxis *)axis
{
return value == 0.0 ? @"" : [NSString stringWithFormat:@"%f", value];
}
Comments
No comments yet.
Please log in to place a comment.