标签:style blog http io color ar os sp div
1.设置X轴滚动条
// 设置X轴默认选中的值范围 this.chartData.ChartAreas[0].AxisX.ScaleView.Zoom(0, 10); // 启用相关的 Chart 属性 this.chartData.ChartAreas[0].CursorX.IsUserEnabled = false; this.chartData.ChartAreas[0].CursorX.IsUserSelectionEnabled = false; this.chartData.ChartAreas[0].AxisX.ScaleView.Zoomable = true; // 将滚动内嵌到坐标轴中 this.chartData.ChartAreas[0].AxisX.ScrollBar.IsPositionedInside = true; // 设置滚动条的大小 this.chartData.ChartAreas[0].AxisX.ScrollBar.Size = 15; // 设置滚动条的按钮的风格 this.chartData.ChartAreas[0].AxisX.ScrollBar.ButtonStyle = ScrollBarButtonStyles.SmallScroll;
标签:style blog http io color ar os sp div
原文地址:http://www.cnblogs.com/me-code/p/4081012.html