Back to Devexpress

TdxChartCustomSeries.ViewClass Property

vcl-dxchartcore-dot-tdxchartcustomseries-b556f65f.md

latest4.7 KB
Original Source

TdxChartCustomSeries.ViewClass Property

Specifies the reference to the series View settings class that corresponds to the active series View type.

Declaration

delphi
property ViewClass: TdxChartSeriesViewClass read; write;

Property Value

TypeDescription
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] ValueViewClass[2] ValueExample[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] ValueViewClass[2] ValueExample[3]
'Pie'TdxChartSimpleSeriesPieView
'Doughnut'TdxChartSimpleSeriesDoughnutView

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

TdxChartCustomSeries Class

TdxChartCustomSeries Members

dxChartCore Unit