Skip to main content

BarSeriesLabelBase.Behavior Property

Gets or sets the behavior of series labels relative to bars.

Namespace: DevExpress.XamarinForms.Charts

Assembly: DevExpress.XamarinForms.Charts.dll

NuGet Package: DevExpress.XamarinForms.Charts

Declaration

public BarSeriesLabelBase.BarSeriesLabelBehavior Behavior { get; set; }

Property Value

Type
BarSeriesLabelBase.BarSeriesLabelBehavior

Available values:

Name
Cut
Moving

Remarks

Use the Behavior property to specify how the series labels should behave when a user is scrolling the bar chart.

The bar labels can be:

  • Cut — partially or fully hidden from view when the user scrolls the bar chart. The labels keep their preset “Inside” or “Outside” position at all times.
  • Moving — visible as long as the bar is visible. If a label is originally positioned outside of the bar, it will switch its position to “Inside” and move along the bar when the user scrolls the bar chart. If a label has been positioned inside the bar, it will switch its position to “Outside” and be visible as long as the bar is visible on the chart when the user scrolls the bar chart.

Property Value

Label Position

Cut

BarSeriesLabel Behavior Cut

Moving

BarSeriesLabel Behavior Moving

See Also