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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Chart gridlines and labels

Thread ID:

Created:

Updated:

Platform:

Replies:

94041 Apr 19,2010 05:08 PM UTC Apr 27,2010 04:52 AM UTC ASP.NET Web Forms (Classic) 3
loading
Tags: Chart
Ken J Law Jr.
Asked On April 19, 2010 05:08 PM UTC

I'm working on a simple column chart with one column representing a dimensional measurement (see screen shot in attached doc). As you can see I'm using a custom origin.

Is there a way to create custom gridlines with labels to the left where I can control their values (e.g. where they show up on the Y-axis), color, etc? I need to show the zero line (middle of the Y-axis), one upper measurement limit, one lower measurement limit and the upper and lower bounds of the chart.

Thanks.



Chart_86444ad2.zip

Jaffersathick B [Syncfusion]
Replied On April 21, 2010 06:38 AM UTC

Hi Ken J Law Jr,


Thank you for using Syncfusion products.

We suggest you to create a custom Strip Line and customize the same and add it the PrimaryYaxis. This will show a line similar to the GridLine in chart.

Please refer the following documentation link:

http://help.syncfusion.com/ug_81/WindowsFormsUI_Chart/ChartStripLines.html


Let me know if you have any concerns.

Regards,
Jaffer.B


Ken J Law Jr.
Replied On April 22, 2010 12:51 PM UTC

Thank you.

Is there a way to label the strip line outside (to the left of) the grid?

Jaffersathick B [Syncfusion]
Replied On April 27, 2010 04:52 AM UTC


Hi Ken J Law Jr,

Thanks for the update.

Stripe line text can be included inside the chart area only. We suggest you to make use of the TextAlignment to place the stripe line text in different position.

Please refer the following code snippet:

[CS]

stripLine.TextAlignment = ContentAlignment.BottomLeft;



Let me know if you have any concerns.

Regards,
Jaffer.B



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

;