MSChart

横坐标显示格式化:

1 Chart1.ChartAreas["ChartArea1"].AxisX.LabelStyle.Format = "HH:mm";

 

        指定间隔:

1 Chart1.ChartAreas["ChartArea1"].AxisX.IntervalType = DateTimeIntervalType.Hours;
2 Chart1.ChartAreas["ChartArea1"].AxisX.Interval = 2;

 

posted @ 2012-11-15 10:52  听雨萧潇  阅读(169)  评论(0编辑  收藏  举报