问题
I need to stop autosizing (or autoscaling) of Y Axis in c# chart and set it manually. Any advice? Thanks
回答1:
You can set the minimum and maximum of the Y axis like so:
chart.ChartAreas[0].AxisY.Minimum = 0;
chart.ChartAreas[0].AxisY.Maximum = 10;
来源:https://stackoverflow.com/questions/9412781/how-to-disable-chart-axis-autosize