Skip to main content
All docs
V25.1
  • TdxChartCustomDiagram.VisibleSeries Property

    Provides indexed access to all visible series in the diagram.

    Declaration

    property VisibleSeries[Index: Integer]: TdxChartCustomSeries read;

    Property Value

    Type Description
    TdxChartCustomSeries

    A visible series.

    Cast the returned object to the TdxChartXYSeries or TdxChartSimpleSeries class depending on the actual series type. Call the VisibleSeries.ClassType function to identify the target series type.

    Remarks

    Use the VisibleSeriesCount property to obtain the number of diagrams accessible through the VisibleSeries property. To access both visible and hidden series, use the Series property.

    Cast the returned diagram object to the corresponding diagram class to be able to access all series type-specific properties and methods.

    Note

    Indexes of visible diagrams determine their Z-order in an XY diagram – series with higher indexes are drawn on top of series with lower indexes. For visible simple series, their indexes determine their position in a simple diagram layout.

    See Also