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

Legend Long Text

Thread ID:





74890 Jul 2,2008 11:18 AM UTC Jul 7,2008 10:29 AM UTC WinForms 1
Tags: Chart
Ravit Shem-Tov
Asked On July 2, 2008 11:18 AM UTC


the text im using in the legend(which is also the serieses names) is sometimes very long

i want to limit it to x chars and use tool tip
i want only x chars of the subject name to appear with "..." and when the user will stand on the subject name in the lgend he will see the full name

i dont want to use the column number option because i have many subjects (30 and more sometimes) and then i have many rows and the size of the graph becomes smaller

thank you

Manohari [Syncfusion]
Replied On July 7, 2008 10:29 AM UTC

Hi Ravi,

We regret for the delay in updating you. It is possible to set the Text as "Ser..." when series name it very long using the Series.Text property as given below.


series.Text = series.Name.Substring(0, 5) + "..."; // to display first 5 characters of series Name

I have attached a sample that illustrates the same in this link below.


But We regret to inform you that we do not have support for ToolTip for Legend.

I have created A feature request in this regard and have forwarded it to Our Development Team.I will get back to you regarding the timeline for implemting this feature with in a week.

Kindly let us know if you have any questions. Thanks for your patience.



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

or the page will be automatically redirected to 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