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

Change Chart Theme

1 Answer 128 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 14 Apr 2009, 08:23 PM
How do I change the them on the Silverlight charts from the default black to the Vista theme, also is the look of the Bubble part of the theme? I would like to have the actual 3d bubble look as opposed to the round tablet version.

1 Answer, 1 is accepted

Sort by
0
Dwight
Telerik team
answered on 16 Apr 2009, 07:14 AM
Hi Jason,

All Telerik controls for Silverlight share common theming mechanism. First, you need to add reference to the Telerik.Windows.Themes.Vista.dll

Setting the theme:
1. Through XAML:
Just set the attached property StyleManager.Theme to "Vista"
<telerik:RadChart x:Name="RadChart1" telerik:StyleManager.Theme="Vista" />

2. From code-behind
Telerik.Windows.Controls.StyleManager.SetTheme(RadChart1, new Telerik.Windows.Controls.VistaTheme()); 

On the second question, yes, the bubble look is part of the theme.

All the best,
Evtim
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Chart
Asked by
Jason
Top achievements
Rank 1
Answers by
Dwight
Telerik team
Share this question
or