Skip to main content
All docs
V25.1
  • TdxChartSimpleSeriesPieView Class

    Stores Pie View settings.

    Declaration

    TdxChartSimpleSeriesPieView = class(
        TdxChartSimpleSeriesCustomPieView
    )

    Remarks

    The Pie View displays series values as slices of a circle whose radial angles reflect shares of all series values in relation to their total.

    VCL Chart Control: A Pie View Example

    The TdxChartSimpleSeriesPieView class implements the Pie View. To select the Pie View, assign 'Pie' to the ViewType property of a simple series.

    Main API Members

    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.

    SweepDirection
    Arranges series values clockwise or counterclockwise.
    StartAngle
    Rotates a Pie series clockwise or counterclockwise.
    TotalLabel
    Provides access to total label settings.
    ExplodedValueOptions
    Allows you to display pie slices separately from each other.
    Appearance
    Provides access to general series appearance settings.
    ValueLabels
    Provides access to series value label settings.
    OnCanExplodeValue
    Allows you to display specific pie slices separately from each other based on certain conditions.
    Assign
    Copies 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 VCL DevExpress demos. Select the Pie item in the left sidebar.

    Download: Compiled VCL Demos

    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

    Direct TdxChartSimpleSeriesPieView Class References

    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.

    See Also