TdxChartCustomSeries.DataBindingClass Property
Specifies the reference to the data binding class that corresponds to the active data access mode.
Declaration
property DataBindingClass: TdxChartSeriesDataBindingClass read; write;
Property Value
Type | Description |
---|---|
TdxChartSeriesDataBindingClass | The class-reference to the data binding class that corresponds to the active data access mode. |
Remarks
Use the DataBindingClass
or DataBindingType property to switch between data access modes available for the series. Different TdxChartCustomSeries class descendants use different data binding setting classes:
- TdxChartXYSeries
An XY series uses the following data binding classes depending on the
DataBindingType
property value:DataBindingType[1] Value DataBindingClass[2] Value Description 'DB'
TdxChartXYSeriesDBDataBinding An XY chart series connects to a dataset and loads all data records into memory. 'Unbound'
TdxChartXYSeriesUnboundDataBinding An XY chart series is not bound to a dataset. You need to populate series with data points manually. - TdxChartSimpleSeries
A simple series uses the following data binding classes depending on the
DataBindingType
property value:DataBindingType[1] Value DataBindingClass[2] Value Description 'DB'
TdxChartSimpleSeriesDBDataBinding A simple series connects to a dataset and loads all data records into memory. Unbound
TdxChartSimpleSeriesUnboundDataBinding A simple series is not bound to a dataset. You need to populate series with data points manually.
-
The DataBindingType property setter updates the
DataBindingClass
and DataBinding property values according to the selected data access mode. -
The
DataBindingClass
property setter updates the DataBindingType and DataBinding property values according to the selected data access mode.