Chart控件,鼠标选择区域,可以局部放大缩小
例子:
代码设置部分:
chartArea1.CursorX.Interval = 0D;
chartArea1.CursorX.IntervalOffsetType = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Minutes;
chartArea1.CursorX.IsUserEnabled = true;
chartArea1.CursorX.IsUserSelectionEnabled = true;
控件上设置:
111