FistOfFury
FistOfFury

Reputation: 7165

How do I adjust the position of my chart to take up the whole chart area?

I was looking at this previous answer and trying to relate to my current situation. I have a line bar chart with too much whitespace around the chart area. Can the position property be used to reduce this white space?

my chart

Upvotes: 2

Views: 3701

Answers (1)

Onots
Onots

Reputation: 2118

Did you try the suggestion from the post you linked:

Then you need IsMarginVisible = false to prevent the margin on the left and the right.

If that didn't help you can try the suggestion from this related answer:

Try playing with the InnerPlotPosition settings:

chart1.ChartAreas[0].InnerPlotPosition.X = 0;

Upvotes: 1

Related Questions