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 |
---|---|
Tdx |
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:
View Type [1] ValueView Class [2] ValueExample[3] 'Area'
Tdx Chart XYSeries Area View 'Stacked
Area' Tdx Chart XYSeries Stacked Area View 'Full
Stacked Area' Tdx Chart XYSeries Full Stacked Area View 'Bar'
Tdx Chart XYSeries Bar View 'Stacked
Bar' Tdx Chart XYSeries Stacked Bar View 'Full
Stacked Bar' Tdx Chart XYSeries Full Stacked Bar View 'Line'
Tdx Chart XYSeries Line View 'Stacked
Line' Tdx Chart XYSeries Stacked Line View 'Full
Stacked Line' Tdx Chart XYSeries Full Stacked Line View - TdxChartSimpleSeries
A simple series supports the following Pie and Doughnut Views:
View Type [1] ValueView Class [2] ValueExample[3] 'Pie'
Tdx Chart Simple Series Pie View 'Doughnut'
Tdx Chart Simple Series Doughnut View
-
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.