2009/Q3 Chart-Look in 2010/Q1

8 posts, 1 answers
  1. Jani
    Jani avatar
    61 posts
    Member since:
    Jan 2008

    Posted 16 Mar 2010 Link to this post

    Hi Telerik,

    The default Look of the Chart Control has (unfortunately) been changed between the 2009/Q3 and the 2010/Q1 Release. How can I use the 2009/Q3 Look (Background, Axis-Title...) within the 2010/Q1 Release?

    Cheers,
    Jani

  2. Hristo
    Admin
    Hristo avatar
    408 posts

    Posted 18 Mar 2010 Link to this post

    Hello Jani,

    With Q1 2010 we introduced a major facelift for all 6 built-in themes in order to deliver a more consistent look and feel for all Silverlight controls. This was triggered after a lot of feedback concerning inconsistencies in the visual appearance and theme management among our controls. To address these we unified the templating approach and streamlined naming conventions for all resources.

    Using the old default themes is no longer possible. You can restyle the current  default one to get a closer look to the previous.


    Kind regards,
    Hristo
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Philip Ashworth
    Philip Ashworth avatar
    41 posts
    Member since:
    Dec 2009

    Posted 19 Mar 2010 Link to this post

    I am also facing the problem where everyone liked the style before. This now means I have to spend hours restyling this control, it's very frustrating!

    Can you guys not release a sample project that will do this?
  4. aedev
    aedev avatar
    7 posts
    Member since:
    Jul 2009

    Posted 20 Mar 2010 Link to this post

    The new style is giving me a lot of grief too.  I did figured out enough of the styling to get the black background and bars to look like they used to (no gray wave in the background though).

    1: Add this to your XAML that contains the RadChart:

    <UserControl.Resources>

     

        <Style x:Key="StripLineStyle" TargetType="Rectangle">
           
    <Setter Property="Fill" Value="#10FFFFFF" />

     

     

       

    </Style>

     

     

     

    </UserControl.Resources>

     

     

     

    2: When you initialize the chart:

    ChartArea1.AxisY.AxisStyles.AlternateStripLineStyle =

    this.Resources["StripLineStyle"] as Style;

     

     

    chart.AxisElementBrush =

    chart.AxisForeground =

    new SolidColorBrush(Colors.White);

     

    chart.Foreground =

    chart.Background =

     

    new SolidColorBrush(Colors.Black);

     

     




  5. Philip Ashworth
    Philip Ashworth avatar
    41 posts
    Member since:
    Dec 2009

    Posted 21 Mar 2010 Link to this post

    Thanks, any idea on how to get the grey wave...that is the bit everyone liked.

    Telerik should really be supporting this. Having made the swap from Infragistics to Telerik I have been very impressed but this upgrade with no support for the previous style has really let them down.

    phil.
  6. Answer
    Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 23 Mar 2010 Link to this post

    Hi Philip, Holden

    You can find attached a sample project that applies the necessary set of styling changes to reproduce the appearance of the "old" OfficeBlack theme.

    Hope this helps.


    Best wishes,
    Freddie
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  7. Philip Ashworth
    Philip Ashworth avatar
    41 posts
    Member since:
    Dec 2009

    Posted 23 Mar 2010 Link to this post

    Thanks Freddie,

    I've got it looking how I want now.

    Phil.
  8. Jani
    Jani avatar
    61 posts
    Member since:
    Jan 2008

    Posted 23 Mar 2010 Link to this post

    Hi Freddie

    Good Work!

    Many Thanks,
    Jani
Back to Top