Multiline title and increase legend height

Thread is closed for posting
2 posts, 0 answers
  1. Web Services
    Web Services avatar
    243 posts
    Member since:
    Apr 2008

    Posted 03 Apr 2012 Link to this post

    I need to recreate the title of this graph http://www.cnppid.com/Assets/Elwood_Last_5_Years.jpg . Two things, how do I increase the size of the title area, and how do I create a multi line title. I've been bouncing around your forums and examples, but I can't seem to find what I'm looking for.
  2. Peshito
    Admin
    Peshito avatar
    496 posts

    Posted 06 Apr 2012 Link to this post

    Hi,

    Did you take a look at our online demo example here, showing a Multi-line title scenario.
    http://demos.telerik.com/aspnet-ajax/chart/examples/newfeatures/multilinelabels/defaultcs.aspx

    Regarding changing the font size of the Chart Title, it can be achieved like this:
    radChart.ChartTitle.TextBlock.Appearance.TextProperties.Font = new System.Drawing.Font(FontFamily.GenericSansSerif, 26);

    Hope this helps.

    All the best,
    Peshito
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top