Skip to main content

LegendStyle Properties

Stores legend appearance settings.
Name Description
BackgroundColor Gets or sets the legend background color. This is a bindable property.
BindingContext

Gets or sets an object that contains the properties that will be targeted by the bound properties that belong to this BindableObject. This is a bindable property.

Inherited from BindableObject.
BorderColor Gets or sets the legend border color. This is a bindable property.
BorderThickness Gets or sets the legend border thickness. This is a bindable property.
Dispatcher

Gets the dispatcher that was available when this bindable object was created, otherwise tries to find the nearest available dispatcher (probably the window’s/app’s).

Inherited from BindableObject.
IndentFromDiagram
ItemsHorizontalIndent Gets or sets the indent between legend items when they are arranged in a row. This is a bindable property.
ItemsVerticalIndent Gets or sets the indent between legend items when they are arranged in a column. This is a bindable property.
MarkerSize Gets or sets the size of legend markers. This is a bindable property.
Padding Gets or sets the spacing between the legend’s content and its edges, in scale-independent units. This is a bindable property.
TextIndent Gets or sets the indent between legend markers and text. This is a bindable property.
TextStyle Gets or sets the text style of the chart’s element. This is a bindable property. Inherited from TextElementStyleBase.
See Also