How to add a reference line along any of the axis?

Wat to do to have a reference line along any of the axis?
If we want to set a reference limit, what should be done to draw the reference line along either the Xaxis or Y axis?


2 Replies

VK Vinoth Kumar K Syncfusion Team May 13, 2008 12:00 AM UTC

Hi Neethu,

Thank you for your interest in Syncfusion products.

Issue : Draw Reference line along X or Y axis

You can draw the reference line along with the X axis or Y axis of the chart control by using DrawLine method in ChartAreaPaint event. Please refer to the sample given below in which we have added a reference line in X-axis of the chart.

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

Let me know if you have any questions.

Thanks,
Vinoth




NM Neethu Mol May 13, 2008 01:17 PM UTC


Thanks a lot!!It worked


Loader.
Up arrow icon