chartX轴从0开始,修改属性=>图表=>chartArea=>轴=>Axes=>Axisx=>IsMarginVisible
将 IsMarginVisible 标志设置为 false或
chart1.ChartAreas[0].AxisX.IsMarginVisible = false;
chart去除网格线,修改属性=>图表=>chartArea=>轴=>Axes=>Axis(或x)=网格刻度线=>点开MajorGrid的Enable=false
chartX轴从0开始,修改属性=>图表=>chartArea=>轴=>Axes=>Axisx=>IsMarginVisible
将 IsMarginVisible 标志设置为 false或
chart1.ChartAreas[0].AxisX.IsMarginVisible = false;
chart去除网格线,修改属性=>图表=>chartArea=>轴=>Axes=>Axis(或x)=网格刻度线=>点开MajorGrid的Enable=false