Skip to main content
You are viewing help content for a version that is no longer maintained/updated.
All docs
V21.2
  • SnapChart.SeriesSorting Property

    Gets or sets a value that specifies how series are sorted in the chart based upon the series names.

    Namespace: DevExpress.Snap.Core.API

    Assembly: DevExpress.Snap.v21.2.Core.dll

    NuGet Package: DevExpress.Snap.Core

    Declaration

    SortingMode SeriesSorting { get; set; }

    Property Value

    Type Description
    SortingMode

    A SortingMode enumeration value.

    Available values:

    Name Description
    None

    The values are not sorted.

    Ascending

    The values are sorted in ascending order.

    Descending

    The values are sorted in descending order.

    Remarks

    Use the SeriesSorting property to specify the order in which automatically generated series are sorted within the chart based upon the series names. Note that the names of the dynamically created series are taken from the data field specified by the SnapChart.SeriesDataMember property.

    The sort order applied to the chart series can be visually identified within the chart’s legend. In some series views (e.g., bar series) the applied sort order affects the order in which the chart elements (in particular, bars) representing data points with an identical argument are displayed within the diagram.

    SeriesSorting = Ascending SeriesSorting = Descending
    SnapSeriesSorting_Ascending SnapSeriesSorting_Descending
    See Also