Problem when setting the color of CandleBar

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Thinkpower
Newbie
Newbie
Posts: 11
Joined: Tue Feb 19, 2013 12:00 am

Problem when setting the color of CandleBar

Post by Thinkpower » Wed Mar 12, 2014 6:41 am

Hi, I'm using Xamarin to build an android project.

As the following code, if open value < close value then the candle color is red. And if open value > close value then the candle color is green.
I want the candle be white when open value = close value, how can it be done?
By my code, the candle is sometimes red and sometimes green when open value = close value.

Code: Select all

candle1.Style = Steema.TeeChart.Styles.CandleStyles.CandleBar;
candle1.UpCloseColor = Color.Red;
candle1.DownCloseColor = ColorGreen;
Please help!

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Problem when setting the color of CandleBar

Post by Narcís » Wed Mar 12, 2014 11:26 am

Hi benlu,

This is not possible for now. I have added your request to bugzilla (ID629). The only option available at the present moment would be modifying Steema.TeeChart.Styles.Candle.CalculateColor method in TeeChart sources.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply