BarSeries
Represents a Cartesian series that plots each data point as a rectangular bar whose length is proportional to its bound value, positioned within a discrete category slot.
Definition
Namespace:Telerik.Maui.Controls.Charts
Assembly:Telerik.Maui.Controls.dll
Syntax:
public sealed class BarSeries : CartesianSeries
Inheritance: objectChartSeriesCartesianSeriesBarSeries
Inherited Members
Constructors
public BarSeries()
Fields
CombineModeProperty
BindableProperty
Identifies the CombineMode bindable property.
public static readonly BindableProperty CombineModeProperty
CornerRadiusProperty
BindableProperty
Identifies the CornerRadius bindable property.
public static readonly BindableProperty CornerRadiusProperty
FillProperty
BindableProperty
Identifies the Fill bindable property.
public static readonly BindableProperty FillProperty
LabelPositionProperty
BindableProperty
Identifies the LabelPosition bindable property.
public static readonly BindableProperty LabelPositionProperty
Properties
Gets or sets how bars from this series are combined with bars from sibling BarSeries instances that share the same category slot: side by side, stacked by summed value, or stacked as percentages of the category total. The default value is Cluster.
public ChartBarCombineMode CombineMode { get; set; }
Gets or sets the corner radius of each bar in device-independent pixels.
Set this once to automatically round the value end of the bar:
top corners for positive vertical bars, bottom corners for negative vertical bars,
right corners for positive horizontal bars, and left corners for negative horizontal bars.
The default value is 0.
public double CornerRadius { get; set; }
Fill
Brush
Gets or sets where each bar's data point label is anchored relative to its bar, before LabelOffset is applied. The default value is TopOutside.
public ChartBarLabelPosition LabelPosition { get; set; }
Methods
Determines the default label offset for the series based on its configured orientation.
protected override Size GetActualLabelOffset()
Size
The default offset, in device-independent units, applied to point labels.
Overrides: