TCandleSeries.DownCloseColor
 
 
 

All Units  All Classes  Properties, Methods and Events  

TCandleSeries.DownCloseColor
TCandleSeries

property DownCloseColor: TColor;

Unit
CandleCh

Description
By default, UpCloseColor is clWhite and DownCloseColor is clRed.

Each Candle will be filled with a different color depending
on its Open and Close values.

If Open value is greater than Close value, then the selected color will be the UpCloseColor color property.

If Close value is greater or equal than Open value, then the selected color will be the DownCloseColor color property.

Example
:

You can change both at design or runtime the color values:

CandleSeries2.UpCloseColor := clGreen ;
CandleSeries2.DownCloseColor := clYellow ;

That will force to repaint the Chart component containing CandleSeries2.




Send us Help Feedback. Copyright 1995-2013 © by Steema Software. All Rights Reserved.