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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:

Created:

Updated:

Platform:

Replies:

73596 May 12,2008 02:09 PM UTC May 13,2008 01:17 PM UTC WinForms 2
loading
Tags: Chart
Neethu Mol
Asked On May 12, 2008 02:09 PM UTC

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?


Vinoth Kumar K [Syncfusion]
Replied On 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



Neethu Mol
Replied On May 13, 2008 01:17 PM UTC


Thanks a lot!!It worked


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;