legend background for "summer" theme

5 posts, 0 answers
  1. simon
    simon avatar
    6 posts
    Member since:
    Jun 2009

    Posted 02 Jul 2009 Link to this post

    It is possible to change the legend background while using "Summer" theme? And how?
  2. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 06 Jul 2009 Link to this post

    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.
  3. simon
    simon avatar
    6 posts
    Member since:
    Jun 2009

    Posted 08 Jul 2009 Link to this post

    Got it. Thanks.
  4. Brandon Zeider
    Brandon Zeider avatar
    4 posts
    Member since:
    Jun 2008

    Posted 20 Jul 2009 Link to this post

    Now that Silverlight 3.0 has been released can you post an example on how to accomplish this?
  5. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 23 Jul 2009 Link to this post

    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.
Back to Top