ChartDirector 6.0 (C++ Edition)

FinanceChart.addBarIndicator2


Usage

BarLayer *addBarIndicator2(XYChart *c, DoubleArray data, int color, const char *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.