VS2010图表控制:减少Y轴余量 [英] VS2010 Chart Control: Reduce Y-Axis Margin
本文介绍了VS2010图表控制:减少Y轴余量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何减少如下所示的左边距区域的宽度,标记为红色?
How do I reduce the width of the left margin area shown below, marked in red?
推荐答案
尝试如下:
Chart.ChartAreas(Chart_ChartArea_ObjectName).InnerPlotPosition = New System.Windows.Forms.DataVisualization.Charting.ElementPosition(3,-2,94,96)
Chart.ChartAreas(Chart_ChartArea_ObjectName).InnerPlotPosition = New System.Windows.Forms.DataVisualization.Charting.ElementPosition(3, -2, 94, 96)
使用GUI属性窗口获取值。
Use the GUI property window to get the values right.
这篇关于VS2010图表控制:减少Y轴余量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文