TcxGridChartView Class
A View that displays data as a chart diagram.
Declaration
TcxGridChartView = class(
TcxCustomGridView
)
Remarks
This class represents an unbound Chart View and provides the ability to visualize data using the following chart diagrams: bar, column, line, area, and pie diagrams. A Chart View displays a single diagram at a time.
Series, data groups, and the default categories are called chart items. These items provide data to be displayed in Chart Views.
Chart Views can optionally display a chart toolbox, a specially designed tools panel that provides:
end-user customization of a diagram’s appearance (the diagram selector and chart customization button);
an interactive data mining mechanism (the data level navigator).
In addition to the settings inherited from the base TcxCustomGridView class, the TcxGridChartView class introduces properties that control the following Chart View attributes, items, and visual elements:
appearance settings of each diagram type (DiagramBar, DiagramColumn, DiagramLine, DiagramArea, and DiagramPie);
the diagram that is used to render the View (ActiveDiagram);
diagram types available to render the View (AvailableDiagrams and AvailableDiagramCount);
series (Series, SeriesCount, VisibleSeries, VisibleSeriesCount, and SortedSeries);
data groups (DataGroups, DataGroupCount, VisibleDataGroups, and VisibleDataGroupCount);
the data level used to categorize chart values in the View and the data group which corresponds to this data level (ActiveDataLevel and ActiveDataGroup);
appearance settings of all categories, a chart’s title, toolbox, and legend (Categories, Title, Toolbox, and Legend, respectively);
option sets to customize various aspects of the Chart View, such as appearance settings, customization capabilities, and behavior in response to end-user actions (OptionsView, OptionsCustomize, and OptionsBehavior);
a set of styles of View elements (Styles);
data and View controllers (DataController and Controller).
The TcxGridDBChartView class implements the data-aware Chart View.