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

Chart gridlines and labels

Thread ID:





94041 Apr 19,2010 05:08 PM UTC Apr 27,2010 04:52 AM UTC ASP.NET Web Forms (Classic) 3
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.



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:


Let me know if you have any concerns.


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:


stripLine.TextAlignment = ContentAlignment.BottomLeft;

Let me know if you have any concerns.



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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