vcl-dxchartsimplediagram.md
Stores Pie View settings.
TdxChartSimpleSeriesPieView = class(
TdxChartSimpleSeriesCustomPieView
)
The Pie View displays series values as slices of a circle (radial angles reflect shares of all series values in relation to their total).
The TdxChartSimpleSeriesPieView class implements the Pie View. To select the Pie View, assign 'Pie' to the ViewType property of a simple series.
The list below outlines key members of the TdxChartSimpleSeriesPieView class that allow you to customize the appearance of a simple series that uses the Pie View.
SweepDirectionArranges series values clockwise or counterclockwise.StartAngleRotates a Pie series clockwise or counterclockwise.TotalLabelProvides access to total label settings.ExplodedValueOptionsAllows you to display pie slices separately from each other.AppearanceProvides access to general series appearance settings.ValueLabelsProvides access to series value label settings.OnCanExplodeValueAllows you to display specific pie slices separately from each other based on certain conditions.AssignCopies compatible settings between simple series Views.
To see the Pie series View in action, run the Chart Control demo in the VCL Demo Center installed with compiled DevExpress VCL demos. Select the Pie item in the left sidebar.
Tip
Compiled DevExpress demos ship with source code installed in the Public Documents folder (%Public%) for all users ( default ). You can find all project and source code files for the Chart control in the following folder:
%Public%\Documents\DevExpress VCL Demos\MegaDemos\Product Demos\ExpressChart
The View property of a simple series references the TdxChartSimpleSeriesPieView class as a TdxChartSimpleSeriesCustomView object if the ViewType property is set to 'Pie'. You need to cast the returned object to the TdxChartSimpleSeriesPieView class to access all public API members.
TObject TPersistent TcxOwnedPersistent TcxOwnedInterfacedPersistent TdxChartVisualElementPersistent TdxChartSeriesCustomView TdxChartSimpleSeriesCustomView TdxChartSimpleSeriesCustomPieView TdxChartSimpleSeriesPieView
See Also
TdxChartSimpleSeriesPieView Class