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

    Stores Stacked Area View settings.

    Declaration

    TdxChartXYSeriesStackedAreaView = class(
        TdxChartXYSeriesAreaView
    )

    Remarks

    An Area View displays series values as filled areas on a diagram. Heights of peaks and hollows of filled areas reflect series point values. All Area Views support the same line appearance settings for filled area borders as Line Views.

    The TdxChartXYSeriesStackedAreaView class implements the Stacked Area View designed to display series as stacked areas on a diagram. Use this View when you display multiple series and you need to emphasize the total. To select the Stacked Area View, assign 'StackedArea' to the ViewType property of an XY series.

    VCL Chart Control: An XY Diagram with Two Stacked Area Series

    Main API Members

    The list below outlines key members of the TdxChartXYSeriesStackedAreaView class that allow you to customize appearance of an XY series that uses the Stacked Area View.

    Area View-Specific Settings

    Appearance
    Provides access to general line and area appearance settings.
    Markers
    Allows you to display value markers and change their size, shape, and color.
    Optimization
    Specifies the active line draw performance optimization mode.

    General XY Series View API Members

    AxisX | AxisY

    Allow you to associate the series View with different axes of arguments and values in the parent XY diagram.

    The Chart control uses the scales of the associated axes to display an XY series.

    GetDescription
    Returns the series View type description.
    GetViewImages
    Returns an image list populated with icons that correspond to all registered series View types.
    GetViewImageIndex
    Returns the index of the icon that corresponds to the current series View type.
    Series
    Provides access to the XY series to which the current View settings belong.
    ValueLabels
    Provides access to value label settings.

    Indirect TdxChartXYSeriesStackedAreaView Class References

    The View property of an XY series references the TdxChartXYSeriesStackedAreaView class as a TdxChartSeriesCustomView object if the ViewType property of the series is set to 'StackedArea'. You need to cast the returned object to the TdxChartXYSeriesStackedAreaView class to access all public members.

    See Also