TdxChartCustomSeries.ViewClass Property
Specifies the reference to the series View settings class that corresponds to the active series View type.
Declaration
property ViewClass: TdxChartSeriesViewClass read; write;
Property Value
| 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. |
Remarks
Use the ViewClass or ViewType property to switch between View types available for the series. Different TdxChartCustomSeries class descendants support different View types:
- TdxChartXYSeries
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 
- TdxChartSimpleSeries
A simple series supports the following Pie and Doughnut Views:
ViewType[1] Value ViewClass[2] Value Example[3] 'Pie'TdxChartSimpleSeriesPieView 
'Doughnut'TdxChartSimpleSeriesDoughnutView 
-
The ViewType property setter updates the
ViewClassand View properties according to the selected series View type. -
The
ViewClassproperty 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.