TCustomAxisPanel.IsValidDataSource

TCustomAxisPanel.IsValidDataSource
TCustomAxisPanel

function IsValidDataSource(ASeries: TChartSeries; AComponent: TComponent): Boolean; dynamic;

Unit
TeEngine

Description
The IsValidDataSource function determines if the AComponent parameter is a valid component to provide the point values for the ASeries component.

The TChart component accepts TChartSeries components as valid DataSources. The TDBChart component accepts TChartSeries and any TDataSet (TTable, TQuery, TClientDataset, etc) components as valid DataSources.

This function is used at design-time and run-time to control Series have valid point values sources.