David Rasuli
David Rasuli

Reputation: 832

Asp.net charts- How to remove the background grid?

I'd like to know how to remove the background grid from asp.net charts, I haven't manage to find whats the property that responsible for that. Thanks

Upvotes: 1

Views: 5442

Answers (1)

Ghost Answer
Ghost Answer

Reputation: 1498

Try this for your chart:

Chart1.ChartAreas["YourChartArea"].AxisX.MajorGrid.Enabled = false;
Chart1.ChartAreas["YourChartArea"].AxisY.MajorGrid.Enabled = false;

Upvotes: 4

Related Questions