Skip to main content

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 VCL Chart - An Area Series View Example
'StackedArea' TdxChartXYSeriesStackedAreaView VCL Chart - A Stacked Area Series View Example
'FullStackedArea' TdxChartXYSeriesFullStackedAreaView VCL Chart - A Full Stacked Area Series View Example
'Bar' TdxChartXYSeriesBarView VCL Chart - A Bar Series View Example
'StackedBar' TdxChartXYSeriesStackedBarView VCL Chart - A Stacked Bar Series View Example
'FullStackedBar' TdxChartXYSeriesFullStackedBarView VCL Chart - A Full Stacked Bar Series View Example
'Line' TdxChartXYSeriesLineView VCL Chart - A Line Series View Example
'StackedLine' TdxChartXYSeriesStackedLineView VCL Chart - A Stacked Line Series View Example
'FullStackedLine' TdxChartXYSeriesFullStackedLineView VCL Chart - A Full Stacked Line Series View Example
TdxChartSimpleSeries

A simple series supports the following Pie and Doughnut Views:

ViewType[1] Value ViewClass[2] Value Example[3]
'Pie' TdxChartSimpleSeriesPieView VCL Chart - A Pie Series View Example
'Doughnut' TdxChartSimpleSeriesDoughnutView VCL Chart - A Doughnut Series View Example
Footnotes
  1. The ViewType property setter updates the ViewClass and View properties according to the selected series View type.

  2. The ViewClass property setter updates the ViewType and View property values according to the selected series View type.

  3. The Example column demonstrates the same series when different Views are active.

See Also