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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to make a nicer multiline chart title?

Thread ID:





22402 Dec 11,2004 01:17 PM UTC Dec 16,2004 09:15 PM UTC WinForms 3
Tags: Chart
Administrator [Syncfusion]
Asked On December 11, 2004 01:17 PM UTC

I''ve created a multiline chart title by embedding "\n\r" in the text string where I want the new line to start. While this works by splitting the string onto two lines it does not center them correctly over the chart. How can I make both lines centered? In a related issue, what I''m trying to do is create a subtitle for the chart. Ideally I''d like the subtitle to have a smaller font size and perhaps even a different font. How can this be done? TIA

Davis Jebaraj [Syncfusion]
Replied On December 14, 2004 07:27 PM UTC

Hi, Essential Chart does not support customizing the Chart Title to have multiple lines or a subtitle directly. However, you can use any other control (like labels) to position them on the Chart to provide custom Titles and subtitles. Please see the sample linked to below for an example: http://www.syncfusion.com/support/user/uploads/F22402ChartMultilineTitle.zip Thank you for your patience. Regards, Davis

Administrator [Syncfusion]
Replied On December 16, 2004 01:55 PM UTC

Hi Davis, Thanks for the reply and sample. While that does seem to work for screen presentation, how will the printout look? Will it use the two label''s text or the chart''s text?

Davis Jebaraj [Syncfusion]
Replied On December 16, 2004 09:15 PM UTC

Hi, The printout will not include the external controls as the ChartControl is not aware of these controls. I will submit a feature request for a Chart Title that can accomodate multiple lines/images with different formatting for sections of the text. We regret for the inconvenience caused. Regards, Davis


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

Live Chat Icon For mobile
Live Chat Icon