Problem when setting the color of CandleBar
Posted: 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.
Please help!
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;