Chart Title customizing

Thread is closed for posting
2 posts, 0 answers
  1. Daniel Sprague
    Daniel Sprague avatar
    17 posts
    Member since:
    Feb 2010

    Posted 13 Jan 2011 Link to this post

    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,





  2. Evgenia
    Evgenia avatar
    1437 posts

    Posted 18 Jan 2011 Link to this post

    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 - for more information on customizing the Chart Title.

    Best wishes,
    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.
Back to Top