Setting SeriesStyle Ignores Theme Color Palette

2 posts, 0 answers
  1. cpursley
    cpursley avatar
    6 posts
    Member since:
    Jul 2007

    Posted 11 Jan 2011 Link to this post

    I am adding a dropshadow style to a LineSeries using the following style:


    <Style x:Key="chartLineSeriesDropShadowStyle" TargetType="telerik:SelfDrawingSeries">
            <Setter Property="Effect">
                    <DropShadowEffect Opacity=".60" ShadowDepth="2" BlurRadius="6" />

    When I do this however, the line series ignores the theme color palette and all lines in the series only use the first color in the theme. I think I may need to also re-template the SelfDrawingSeries to get this to work.



    How do I get this to work with themes? I am currently using the Summer theme.


  2. Sia
    Sia avatar
    766 posts

    Posted 13 Jan 2011 Link to this post

    Hello Chris Pursley,

    The observed behavior most probably is caused because you set the same style to all line series. Please try to set different style for every line and let us know if you still experience the same problem.

    All the best,
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Back to Top