ChartDirector 5.1 (PHP Edition)

FinanceChart.addBarIndicator2


Usage

addBarIndicator2(c, data, color, name)

Description

Adds a bar layer to an existing indicator chart.

Arguments

ArgumentDefaultDescription
c(Mandatory)The indicator chart to add the bar layer to.
data(Mandatory)The data series of the indicator bars.
color(Mandatory)The color of the indicator bars.
name(Mandatory)The name of the indicator.

Return Value

A BarLayer object representing the bar layer created.