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

Setting SeriesStyle Ignores Theme Color Palette

1 Answer 65 Views
Chart
This is a migrated thread and some comments may be shown as answers.
cpursley
Top achievements
Rank 1
cpursley asked on 11 Jan 2011, 08:04 PM
I am adding a dropshadow style to a LineSeries using the following style:

 

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

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.

 

1 Answer, 1 is accepted

Sort by
0
Sia
Telerik team
answered on 13 Jan 2011, 12:41 PM
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,
Sia
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
Chart
Asked by
cpursley
Top achievements
Rank 1
Answers by
Sia
Telerik team
Share this question
or