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 |
---|---|
Tdx |
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:Data Binding [1] ValueType Data Binding [2] ValueClass Description 'Unbound'
Tdx Chart XYSeries Unbound Data Binding An XY chart series is not bound to a dataset. You need to populate series with data points manually. 'DB'
Tdx Chart XYSeries DBData Binding An XY chart series connects to a dataset and loads all data records into memory. - TdxChartSimpleSeries
A simple series uses the following data binding classes depending on the
DataBindingType
property value:Data Binding [1] ValueType Data Binding [2] ValueClass Description Unbound
Tdx Chart Simple Series Unbound Data Binding A simple series is not bound to a dataset. You need to populate series with data points manually. 'DB'
Tdx Chart Simple Series DBData Binding A simple series connects to a dataset and loads all data records into memory.
#Default Value
- TdxChartXYSeries
- The
DataBindingClass
property’s default value is TdxChartXYSeriesUnboundDataBinding. - TdxChartSimpleSeries
- The
DataBindingClass
property’s default value is TdxChartSimpleSeriesUnboundDataBinding.
-
The DataBindingType property setter updates
DataBindingClass
and DataBinding property values according to the selected data access mode. -
The
DataBindingClass
property setter updates DataBindingType and DataBinding property values according to the selected data access mode.