We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Custom X Axis gridline

We need to build a line chart with Indexed set to true. And we want to draw a grid line for every 20 data points along X axis.

Can anybody help me with this very simple requirement?

1 Reply

RF Rashidha F Syncfusion Team May 31, 2007 06:32 AM UTC

Hi Qingjun,

Thanks for using Syncfusion Products.

You can able to achieve your requirement using ChartAreaPaint Event feature in Syncfusion Chart Control.

Please take a look at the sample attached.

http://websamples.syncfusion.com/samples/Chart.Windows/F61676/main.htm

The above sample exhibit how to draw a custom grid lines inside the chart Area.

Please let me know if this helps.

Regards,
Rashidha.

Loader.
Live Chat Icon For mobile
Up arrow icon