Back to Devexpress

TcxGridChartItem Class

vcl-cxgridchartview-639e1a19.md

latest3.8 KB
Original Source

TcxGridChartItem Class

Contains a chart item (a series or data group) in Chart Views.

Declaration

delphi
TcxGridChartItem = class(
    TcxComponent,
    IcxStoredObject,
    IcxGridChartItem
)

Remarks

TcxGridChartItem is the base class for chart items. This class provides the following capabilities:

Address a chart item by its ID and visual position (ID and VisibleIndex).

  • Data Binding.

A chart item retrieves data from a data store with the help of the DataBinding object which provides properties used to define the data type of item values, associate an arbitrary value (via the DataBinding.Data property) with the item and perform other operations.

  • Persistence Control.

You can customize the list of a chart item properties and their values that can be stored/restored to/from an external data store such as a file, registry, stream, or custom storage as a part of the Chart View (OnGetStoredProperties, OnGetStoredPropertyValue and OnSetStoredPropertyValue);

To access a chart item’s properties at design time, select the item via the Component Editor or click it within a chart.

Implements

IcxStoredObject

IcxGridChartItem

Inheritance

TObject TPersistent TComponent TcxCustomComponent TcxComponent TcxGridChartItem

See Also

TcxGridChartCategories

TcxGridChartDataGroup

TcxGridChartSeries

TcxGridDBChartCategories

TcxGridDBChartDataGroup

TcxGridDBChartSeries

TcxGridChartItem Members

cxGridChartView Unit