Change Chart Theme

2 posts, 0 answers
  1. Jason
    Jason avatar
    26 posts
    Member since:
    May 2008

    Posted 14 Apr 2009 Link to this post

    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.
  2. Dwight
    Dwight avatar
    475 posts

    Posted 16 Apr 2009 Link to this post

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