Click here to Skip to main content
15,884,836 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to hide the Grid Lines in bar chart of chart control in asp.net
Posted

1 solution

Quote:
'~~> Removed the X axis major grids

Dim CArea As ChartArea = Chart1.ChartAreas(0)
 CArea.AxisX.MajorGrid.Enabled = False

Quote:
Removed the Y axis major grids

CArea.AxisY.MajorGrid.Enabled = False   
 
Share this answer
 
Comments
Devang Vaja 21-Feb-13 1:19am    
gr8
raj ch 4-Jul-13 4:31am    
Thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900