Back to Devexpress

TdxChartCustomSeries.DataBindingClass Property

vcl-dxchartcore-dot-tdxchartcustomseries-03809f68.md

latest3.2 KB
Original Source

TdxChartCustomSeries.DataBindingClass Property

Specifies the reference to the data binding class that corresponds to the active data access mode.

Declaration

delphi
property DataBindingClass: TdxChartSeriesDataBindingClass read; write;

Property Value

TypeDescription
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] ValueDataBindingClass[2] ValueDescription
'Unbound'TdxChartXYSeriesUnboundDataBindingAn XY chart series is not bound to a dataset. You need to populate series with data points manually.
'DB'TdxChartXYSeriesDBDataBindingAn 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:

DataBindingType[1] ValueDataBindingClass[2] ValueDescription
UnboundTdxChartSimpleSeriesUnboundDataBindingA simple series is not bound to a dataset. You need to populate series with data points manually.
'DB'TdxChartSimpleSeriesDBDataBindingA simple series connects to a dataset and loads all data records into memory.

Default Value

TdxChartXYSeriesThe DataBindingClass property’s default value is TdxChartXYSeriesUnboundDataBinding.TdxChartSimpleSeriesThe DataBindingClass property’s default value is TdxChartSimpleSeriesUnboundDataBinding.

Footnotes

  1. The DataBindingType property setter updates DataBindingClass and DataBinding property values according to the selected data access mode.

  2. The DataBindingClass property setter updates DataBindingType and DataBinding property values according to the selected data access mode.

See Also

TdxChartCustomSeries Class

TdxChartCustomSeries Members

dxChartCore Unit