Skip to main content

TcxGridDBChartCategories.DataBinding Property

Specifies an object which links categories to a dataset.

Declaration

property DataBinding: TcxGridDBChartItemDataBinding read; write;

Property Value

Type
TcxGridDBChartItemDataBinding

Remarks

Use the DataBinding property to specify the object which links the categories that are associated with the TcxGridDBChartCategories object instance to a dataset. You can use the properties of the DataBinding object to define the data type of the category values, link the categories to a specific data field in the dataset via the DataBinding.FieldName property, associate an arbitrary value (via the DataBinding.Data property) with the categories and perform other operations.

At design time, you can select a value type for the categories and choose a dataset field associated with the categories from the DataBinding.ValueType and DataBinding.FieldName properties which provide lists of the available values.

See Also