How can I remove grid lines from chart? I use standard Chart library.
Thanks!
Assuming a single ChartArea, you can try these settings:
chart1.ChartAreas[0].AxisX.MajorGrid.LineWidth = 0;
chart1.ChartAreas[0].AxisY.MajorGrid.LineWidth = 0;
Otherwise you may want to use:
chart1.ChartAreas["ChartArea1"].AxisX.MajorGrid.LineWidth = 0;
chart1.ChartAreas["ChartArea1"].AxisY.MajorGrid.LineWidth = 0;
where, "ChartArea1" is the Series Property-->Chart-->Chart Area "ChartArea1"