Skip to content

BarChart

Ed Lomonaco edited this page Jul 26, 2020 · 4 revisions

Bar Chart

Usage

var chart = new BarChart { Entries = entries };

Properties

BarAreaAlpha (byte)

Gets or sets the bar background area alpha.

Default Value: 32

Inherited from base

IsAnimated (bool)

Gets or sets a value indicating whether chart is animated when entries change.

Default Value: true

AnimationDuration (TimeSpan)

Gets or sets the duration of the animation.

Default Value: 1.5

AnimationProgress (float)

Gets or sets the animation progress.

LabelTextSize (float)

Gets or sets the text size of the labels.

Default Value: 16

Typeface (SKTypeface)

Gets or sets the font.

BackgroundColor (SKColor)

Gets or sets the color of the chart background.

Default Value: SKColors.White

LabelColor (SKColor)

Gets or sets the color of the labels.

Default Value: SKColor.Gray

MinValue (float)

Gets or sets the minimum value from entries. If not defined, it will be the minimum between zero and the minimal entry value.

Default Value: 0

MaxValue (float)

Gets or sets the maximum value from entries. If not defined, it will be the maximum between zero and the maximum entry value.

Default Value: 0

Margin (float)

Gets or sets the global margin.

Default Value: 20