横坐标显示格式化:
1 Chart1.ChartAreas["ChartArea1"].AxisX.LabelStyle.Format = "HH:mm";
指定间隔:
1 Chart1.ChartAreas["ChartArea1"].AxisX.IntervalType = DateTimeIntervalType.Hours;2 Chart1.ChartAreas["ChartArea1"].AxisX.Interval = 2;
本文共 289 字,大约阅读时间需要 1 分钟。
横坐标显示格式化:
1 Chart1.ChartAreas["ChartArea1"].AxisX.LabelStyle.Format = "HH:mm";
指定间隔:
1 Chart1.ChartAreas["ChartArea1"].AxisX.IntervalType = DateTimeIntervalType.Hours;2 Chart1.ChartAreas["ChartArea1"].AxisX.Interval = 2;
转载于:https://www.cnblogs.com/lion0323/archive/2012/11/15/2771140.html