ChartDirector 7.0 (Java Edition)

FinanceChart.addLineIndicator2


Usage

public LineLayer addLineIndicator2(XYChart c, double[] data, int color, String 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.