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