asp.net chart vertical horizontal strip lines

asp.net chart vertical horizontal strip lines

How to enable vertical and horizontal strip lines for improved readability in an asp.net chart control

Add the following code in the Code behind :

/*For Vertical and horizontal Lines:

 chart.ChartAreas[0].AxisY.MajorGrid.Enabled = true; 

 chart.ChartAreas[0].AxisX.MajorGrid.Enabled = true;

Here is the developer network reference to asp.net chart controls http://msdn.microsoft.com/en-us/library/dd456632.aspx

asp.net chart vertical horizontal strip lines

asp.net chart vertical horizontal strip lines

No comments:

Post a Comment