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

Setting Application theme overrides custom pallete brushes in RadChart

5 Answers 61 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Nadav
Top achievements
Rank 1
Nadav asked on 21 Feb 2011, 05:02 PM
I've trying the telerik silverlight controls and I've ran into a problem:

I've got a Pie chart where I've manually set the pallete colors (in code).

It was working fine, until I've set the ApplicationTheme.
Now instead of seeing the custom colors I've set, I'm seeing the colors from the themes :(

This looks like a bug to me, if I set the pallete then it should override the application defaults...

Has anybody ran across this problem or something like it?

Thanks,

Nadfav

5 Answers, 1 is accepted

Sort by
0
Sia
Telerik team
answered on 24 Feb 2011, 09:37 AM
Hi Nadav,

I have tested your scenario and it works as expected on my end. Can you please tell us which is your version and which theme you use in your application.
Please check whether you set the theme before InitializeComponent(); as described here and whether you have reference to the desired theme.

All the best,
Sia
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Nadav
Top achievements
Rank 1
answered on 24 Feb 2011, 09:51 AM
Hi Sia,

the Version of the Telerik I've installed is  elerik_Ultimate_Collection_2010_3_1216_Trial.
I don't think I installed any updated (How do I see what version of the telerik controls I've got installed?
Telerik/About in VS2010 does not show the version..)

I've set the application theme to Windows7 BEFORE calling the InitializeComponent() on the application project,
And yes I do have a reference to the theme.

I'll see if I can reproduce the problem in a small project.

Nadav
0
Nadav
Top achievements
Rank 1
answered on 24 Feb 2011, 10:13 AM
Hi Sia,

I've creating a simple project reproducing the problem, but it seems I can't attach zip files.

Is there some way for me to send you the project files?

Thanks,

Nadav
0
Sia
Telerik team
answered on 24 Feb 2011, 10:38 AM
Hi Nadav,

Unfortunately we have such known issue with Windows 7 and it is already included in our planning. As a temporary workaround I can suggest you to set different theme to the RadChart control.

Regards,
Sia
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Nadav
Top achievements
Rank 1
answered on 24 Feb 2011, 01:45 PM
OK, I'll do that.
(Actually I was already thinking about using another theme because I didn't like the way the TabControl looked in Windows7 :) )

Thanks,

Nadav
Tags
Chart
Asked by
Nadav
Top achievements
Rank 1
Answers by
Sia
Telerik team
Nadav
Top achievements
Rank 1
Share this question
or