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

Specifying UpFill and DownFill for Candlestick

1 Answer 39 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alex
Top achievements
Rank 1
Alex asked on 05 Dec 2012, 08:29 AM
This is what I'm specifying for my CandlestickSeries:

Style candlestickStyle = new Style(typeof(Candlestick));
candlestickStyle.Setters.Add(new Setter(Candlestick.UpFillProperty, new SolidColorBrush(Colors.Green)));
candlestickStyle.Setters.Add(new Setter(Candlestick.DownFillProperty, new SolidColorBrush(Colors.Red)));
series.DefaultVisualStyle = candlestickStyle;


But it has no effect on the rendered candlesticks - I still get default fill. Anything I'm doing wrong?

1 Answer, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 08 Dec 2012, 12:01 PM
Hi Volha,

Thanks for writing.
Please remove any palette settings that may be applied.  If a palette is set, it has higher priority than the default visual styles.

Please write again if you have other questions.

Greetings,
Victor
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
Chart
Asked by
Alex
Top achievements
Rank 1
Answers by
Victor
Telerik team
Share this question
or