ChartDirector 6.0 (C++ Edition)

FinanceChart.addMainChart


Usage

XYChart *addMainChart(int height);

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.