I''ve created a multiline chart title by embedding "\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?
DJDavis Jebaraj Syncfusion Team December 14, 2004 02:27 PM
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:
Thank you for your patience.
ADAdministrator Syncfusion Team December 16, 2004 08:55 AM
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?
DJDavis Jebaraj Syncfusion Team December 16, 2004 04:15 PM
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.