Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS2010 Chart Control: Reduce Y-Axis Margin

How do I reduce the width of the left margin area shown below, marked in red?

alt text

like image 852
Chad Avatar asked Sep 11 '25 19:09

Chad


1 Answers

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.

like image 176
VJK Avatar answered Sep 14 '25 18:09

VJK