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.
Unfortunately, activation email could not send to your email. Please try again.

Candle Template

Thread ID:

Created:

Updated:

Platform:

Replies:

90306 Sep 24,2009 09:36 AM Sep 25,2009 10:07 AM WPF 1
loading
Tags: Chart
Dina Pitman
Asked On September 24, 2009 09:36 AM

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 10:07 AM

Hi,

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.

Thanks,
Poorani






Candle Chart_1c1b25e5.zip

CONFIRMATION

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.

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.

;