We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Grid Lines

Hi,I am trying to set the major grid lines and minor grid lines for column chart like below but i am not able to see the minor grid lines.

chart.CategoryAxis.MajorGridLines.DashStyle = LineDashStyleEx.Dash;
chart.ValueAxis.MajorGridLines.DashStyle = LineDashStyleEx.Dash;
chart.CategoryAxis.MinorGridLines.DashStyle = LineDashStyleEx.Dash;
chart.ValueAxis.MinorGridLines.DashStyle = LineDashStyleEx.Dash;

Can you please tell me how i can set the grid lines to be visible for both major and minor grid lines.

Please refer the attachment regarding my need.



Hi Amit,

Please visit this documentation link for your kind reference where by I have shared the example for setting the line style for Major Axis line for Value Axis. Please share, if I may help you further in this regard.

Many Thanks,