VS2010 Chart Control: Reduce Y-Axis Margin
How do I reduce the width of the left margin area shown below, mar开发者_如何学JAVAked in red?
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)
精彩评论