ChartDirector Ver 3.1 (PHP Edition Edition)
XYChart.addCandleStickLayer
Usage
Description
Candlestick Symbol Color | Data Set Color |
---|---|
Fill color of the candle | Data Color for the first data set (index = 0) if the opening value is higher than the closing value. Data Color for the second data set (index = 1) if the opening value is lower than the closing value. |
Border color of the candle | Edge Color for the first data set (index = 0) |
Center line color | Edge Color for the second data set (index = 1) |
Arguments
Argument | Default | Description |
---|---|---|
highData | (Mandatory) | An array of numbers representing the highest value data set. |
lowData | (Mandatory) | An array of numbers representing the lowest value data set. |
openData | (Mandatory) | An array of numbers representing the opening value data set. |
closeData | (Mandatory) | An array of numbers representing the closing value data set. |
riseColor | FFFFFF | (white) The color used to fill the candle if the closing value is higher than the opening value. |
fallColor | 000000 | (black) The color used to fill the candle if the opening value is higher than the closing value. |
edgeColor | LineColor | The color used to draw the center line and the border of the candle. |
Return Value