开发者

VS2010 Chart Control: Reduce Y-Axis Margin

开发者 https://www.devze.com 2023-01-23 13:39 出处:网络
How do I reduce the width of the left margin area shown below, mar开发者_如何学JAVAked in red? Try something like this:

How do I reduce the width of the left margin area shown below, mar开发者_如何学JAVAked in red?

VS2010 Chart Control: Reduce Y-Axis Margin


Try something like this:

Chart.ChartAreas(Chart_ChartArea_ObjectName).InnerPlotPosition = New System.Windows.Forms.DataVisualization.Charting.ElementPosition(3, -2, 94, 96)

Use the GUI property window to get the values right.


Me.Chart1.Location = New System.Drawing.Point(m_x_reduce, m_y_reduce)

0

精彩评论

暂无评论...
验证码 换一张
取 消