ChartDirector 5.1 (PHP Edition)

FinanceChart.addCandleStick


Usage

addCandleStick(upColor, downColor)

Description

Adds a candlestick layer to the main chart.

Arguments

ArgumentDefaultDescription
upColor(Mandatory)The candle color for a up day.
downColor(Mandatory)The candle color for a down day.

Return Value

A CandleStickLayer object representing the candlestick layer created.