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:
public String doubleToString(double value, NChartValueAxis axis) {
return value == 0.0 ? "" : String.format("%f", value);
}
Comments
No comments yet.
Please log in to place a comment.