ChartDirector 7.1 (.NET Edition)

FinanceChart.addMainChart


Usage

[C#]public XYChart addMainChart(int height);
[VB]Public Function addMainChart(height As Integer) As XYChart

Description

Adds the main chart - the chart that shows the data for the prices.

The chart added is initially empty. Other methods, such as FinanceChart.addCandleStick and FinanceChart.addSimpleMovingAvg, may be used to add various layers to the chart.

Arguments

ArgumentDefaultDescription
height(Mandatory)The height of the main chart in pixels.

Return Value

A XYChart object representing the main chart created.