vcl-dxchartcore-dot-tdxchartcustomseries-b556f65f.md
Specifies the reference to the series View settings class that corresponds to the active series View type.
property ViewClass: TdxChartSeriesViewClass read; write;
| Type | Description |
|---|---|
| TdxChartSeriesViewClass |
The class-reference to the series View settings class that corresponds to the active series View type. Refer to the Remarks section for the list of compatible series View classes.
|
Use the ViewClass or ViewType property to switch between View types available for the series. Different TdxChartCustomSeries class descendants support different View types:
An XY series supports the following Area, Bar, and Line Views:
| ViewType[1] Value | ViewClass[2] Value | Example[3] |
|---|---|---|
'Area' | TdxChartXYSeriesAreaView | |
'StackedArea' | TdxChartXYSeriesStackedAreaView | |
'FullStackedArea' | TdxChartXYSeriesFullStackedAreaView | |
'Bar' | TdxChartXYSeriesBarView | |
'StackedBar' | TdxChartXYSeriesStackedBarView | |
'FullStackedBar' | TdxChartXYSeriesFullStackedBarView | |
'Line' | TdxChartXYSeriesLineView | |
'StackedLine' | TdxChartXYSeriesStackedLineView | |
'FullStackedLine' | TdxChartXYSeriesFullStackedLineView |
A simple series supports the following Pie and Doughnut Views:
| ViewType[1] Value | ViewClass[2] Value | Example[3] |
|---|---|---|
'Pie' | TdxChartSimpleSeriesPieView | |
'Doughnut' | TdxChartSimpleSeriesDoughnutView |
Footnotes
The ViewType property setter updates the ViewClass and View properties according to the selected series View type.
The ViewClass property setter updates the ViewType and View property values according to the selected series View type.
The Example column demonstrates the same series when different Views are active.
See Also