Page 1 of 1

Problem when setting the color of CandleBar

Posted: Wed Mar 12, 2014 6:41 am
by 17365127
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!

Re: Problem when setting the color of CandleBar

Posted: Wed Mar 12, 2014 11:26 am
by narcis
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.