IChartWidget.Source

Syntax

Source: IChartSource;

Description

The Source property determines a data source for the ChartWidget component.

Example

Executing the example requires that the repository contains a form with the components:

Sub UserProc;
Begin
    // Specify a data source for the ChartBox component
    ChartBox1.Source := UiChart1 As IChartSource;
    // Activate the ChartWidget component
    ChartWidget1.Active := True;
    // Connect the NavigationBar component to ChartWidget
    ChartWidget1.NavBar := NavigationBar1;
    // Specify a data source for the ChartWidget component
    ChartWidget1.Source := UiChart1 As IChartSource;
End Sub UserProc;

After executing the example it will be possible to work with a chart using the NavigationBar component.

See also:

IChartWidget