ChartDirector 7.1 (C++ Edition)

FinanceChart.addLineIndicator2


Usage

LineLayer *addLineIndicator2(XYChart *c, DoubleArray data, int color, const char *name);

Description

Adds a line to an existing indicator chart.

Arguments

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

Return Value

A LineLayer object representing the line created.