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

2009/Q3 Chart-Look in 2010/Q1

7 Answers 68 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Jani
Top achievements
Rank 1
Jani asked on 16 Mar 2010, 10:02 AM
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

7 Answers, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 18 Mar 2010, 11:21 AM
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.
0
Philip Ashworth
Top achievements
Rank 1
answered on 19 Mar 2010, 11:13 AM
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?
0
aedev
Top achievements
Rank 1
answered on 20 Mar 2010, 05:49 PM
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);

 

 




0
Philip Ashworth
Top achievements
Rank 1
answered on 21 Mar 2010, 05:58 PM
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.
0
Accepted
Giuseppe
Telerik team
answered on 23 Mar 2010, 11:33 AM
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.
0
Philip Ashworth
Top achievements
Rank 1
answered on 23 Mar 2010, 11:53 AM
Thanks Freddie,

I've got it looking how I want now.

Phil.
0
Jani
Top achievements
Rank 1
answered on 23 Mar 2010, 02:19 PM
Hi Freddie

Good Work!

Many Thanks,
Jani
Tags
Chart
Asked by
Jani
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Philip Ashworth
Top achievements
Rank 1
aedev
Top achievements
Rank 1
Giuseppe
Telerik team
Jani
Top achievements
Rank 1
Share this question
or