ChartDirector 6.2 (.NET Edition)

FinanceChart.addBarIndicator2


Usage

[C#] public BarLayer addBarIndicator2(XYChart c, double[] data, int color, string name);
[VB] Public Function addBarIndicator2(c As XYChart, data As Double(), color As Integer, name As String) As BarLayer

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.