AreaSeriesBase.LegendItemsBehavior Property
Gets or sets whether the legend displays items for series colors or for series points. This is a bindable property.
Namespace: DevExpress.Maui.Charts
Assembly: DevExpress.Maui.Charts.dll
NuGet Package: DevExpress.Maui.Charts
Declaration
public LegendItemsBehavior LegendItemsBehavior { get; set; }
Property Value
Type | Default | Description |
---|---|---|
LegendItemsBehavior | Series | A value that specifies which items the legend should display for the series. |
Available values:
Name | Description |
---|---|
Series | The legend generates items for series colors based on a colorizer applied to the series. |
EachPoint | The legend generates items for all points of a series. |
Remarks
Set the LegendItemsBehavior property to the Series or EachPoint value to specify how to generate legend items for the series.
- Series (default)
Legend items identify series colors that a colorizer applied to the series specifies.
- Predefined point colorizer - The legend displays items for colors from the default or custom palette.
- Custom point colorizer - The legend displays items according to a custom legend item provider that the colorizer’s GetLegendItemProvider method returns.
- Value range colorizer - The legend displays items for all value range colors that the colorizer’s ColorStops collection defines.
- No colorizer - The legend contains an item that indicates the entire series color.
- EachPoint
- The legend shows items for all points of the series.
See Also