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

legend background for "summer" theme

4 Answers 68 Views
Chart
This is a migrated thread and some comments may be shown as answers.
simon
Top achievements
Rank 1
simon asked on 02 Jul 2009, 03:26 PM
It is possible to change the legend background while using "Summer" theme? And how?

4 Answers, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 06 Jul 2009, 03:35 PM
Hi simon,

Unfortunately due to Silverlight 2.0 limitations this is currently not possible.

Let me elaborate a bit more -- when you choose to use non-default theme (Summer in this case), the theme is applied via applying styles to the Style properties of various chart elements (i.e. RadChart.Style, ChartTitle.Style, ChartArea.Style, ChartLegend.Style properties got set to value different than null). Silverlight 2.0 only allows for single style setting like this and in order to customize the legend background, you need to customize its template (i.e. you need to apply style that sets this template but you cannot apply style second time). Microsoft has addressed this limitation for the Silverlight 3.0 release and once it is out, you will be able to achieve the desired functionality.


Best wishes,
Manuel
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.
0
simon
Top achievements
Rank 1
answered on 08 Jul 2009, 08:18 PM
Got it. Thanks.
0
Brandon Zeider
Top achievements
Rank 1
answered on 20 Jul 2009, 04:54 PM
Now that Silverlight 3.0 has been released can you post an example on how to accomplish this?
0
Giuseppe
Telerik team
answered on 23 Jul 2009, 08:41 AM
Hello Brandon Zeider,

Unfortunately this is still not possible -- despite Silverlight 3 is out, we decided to keep the backwards compatibility with Silverlight 2 at least for the service pack release that is scheduled for the beginning of August in order to give our customers enough time to migrate to the new platform (as allowing to set styles multiple times would immediately break any development for Silverlight 2).

Sorry for the temporary inconvenience.


Best wishes,
Manuel
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
simon
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
simon
Top achievements
Rank 1
Brandon Zeider
Top achievements
Rank 1
Share this question
or