79538138

Date: 2025-03-27 07:43:44
Score: 0.5
Natty:
Report link

Are you binding your data to the chart? If so, make sure to set the AxisY.Minimum and AxisY.Maximum value after the data has been added. That way the chart does not override your axis settings based on the data range.
You can also try to disable a scaling extension of the axis by disabling IsMarginVisible:
myChart1.ChartAreas[0].AxisY.IsMarginVisible = false;

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: d4zed