This is a migrated thread and some comments may be shown as answers.

Chart Title customizing

1 Answer 101 Views
Chart (obsolete as of Q1 2013)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Daniel Sprague
Top achievements
Rank 1
Daniel Sprague asked on 13 Jan 2011, 04:35 PM

1. When I render a chart on the screen I simply want to display the chart title at top left, such as:
(Chart Title)

2. However, when that chart is printed, (using RadChart.Printing.PrintChart()), I want the date printed as well, but right justified, and not as impacting, such as a smaller font or italic, such as this:

(Chart Title)                                                        Date Printed: 1/13/2011



Is this possible? I figure I could simply add the date printed part to the chart title text when a user prints a chart, and then remove it when printing is completed.  However, that doesn't resolve the issues of a different font and right justification.

Can a chart have multiple titles, like a ChartMainTitle and ChartSubTitle?  I think that would be the best solution, cause of course each could then be set up completely independently of each other to satisfy all user requests.  If this isn't possible, could the feature be added to a future version?

Thanks much,
Dan

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 18 Jan 2011, 06:01 PM
Hi Daniel,

The current version of RadChart does not support SubTitles and it would not possible to achieve the desired effect like this. We will forward your feedback to our developers but we do not have any concrete plans for the implementation of such feature at the moment.
 
As a workaround you can use the approach you have already come up with (change the title text for printing and restore it back after that) and this should work for right justification as well (e.g. RadChart1.ChartTitle.Appearance.Position.AlignedPosition = AlignedPositions.TopRight). You can also use the Multi-Line Labels functuonality and add the Date on new line in same Chart Title (however you will not be able to set custom FontStyle for each of them). If you set the Text to Italic this will affect both of the lines. You can review this help topic - http://www.telerik.com/help/winforms/chart-undestanding-radchart-elements-titles.html for more information on customizing the Chart Title.


Best wishes,
Evgenia
the Telerik team
Q3’10 SP1 of RadControls for WinForms is available for download; also available is the Q1'11 Roadmap for Telerik Windows Forms controls.
Tags
Chart (obsolete as of Q1 2013)
Asked by
Daniel Sprague
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or