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

Multiline title and increase legend height

1 Answer 46 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Web Services
Top achievements
Rank 2
Web Services asked on 03 Apr 2012, 05:19 PM
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.

1 Answer, 1 is accepted

Sort by
0
Peshito
Telerik team
answered on 06 Apr 2012, 08:24 AM
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.
Tags
Chart (Obsolete)
Asked by
Web Services
Top achievements
Rank 2
Answers by
Peshito
Telerik team
Share this question
or