4 Answers, 1 is accepted
0
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.
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
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.
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.