This question is locked. New answers and comments are not allowed.
I have the following code:
Tick point label is not generated as expected when MaxValue of AxisY is not divisible by Step.
AxisY axisY = chart.DefaultView.ChartArea.AxisY;
maxValue = 360000;
step = 40000;
// without this line it works
maxValue *= 1.05;
axisY.AutoRange = false;
axisY.AddRange(0, maxValue, step);
foreach (TickPoint tickPoint in axisY.TickPoints)
{
tickPoint.Label = (tickPoint.Value) + "some text";
}
Tick point label is not generated as expected when MaxValue of AxisY is not divisible by Step.