We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Candle Template

Thread ID:





90306 Sep 24,2009 01:36 PM UTC Sep 25,2009 02:07 PM UTC WPF 1
Tags: Chart
Dina Pitman
Asked On September 24, 2009 01:36 PM UTC

I'm evaluating the WPF charting and would like to create a candle chart with a Red or Green fill depending on the open and close values.
This is common for a candle chart as your product information states:
The body of the candle is often colored under conditions where the open value is smaller than the closed value.

How you recommend I achieve this?
I'm attempting to set the series Template with data triggers

The User guide for Candle Chart lists a set of parameters which can be used while setting template e.g. Interior.
Could you give me an example of a template for the Candle chart type?

Poorani Idhaya Bala M.A [Syncfusion]
Replied On September 25, 2009 02:07 PM UTC


Using data template you can achieve your requirements.

For instance,

StrokeThickness="{Binding StrokeThickness}" ToolTip="{Binding ToolTip}"/>

Please find the attached sample for more information.

Let us know if you have any questions.

Thanks for choosing Syncfusion Products.


Candle Chart_1c1b25e5.zip


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon