Kendo.Mvc.UI.ChartLegend

Configures the Chart legend settings.

Properties

Font

Gets or sets the legend font.

Color

Gets or sets the legend labels color.

Position

Gets or sets the legend position.

OffsetX

Gets or sets the legend X-offset from its position.

OffsetY

Gets or sets the legend Y-offset from its position.

Visible

Gets or sets a value indicating if the legend is visible

Margin

Gets or sets the legend margin

Padding

Gets or sets the legend margin

Background

Gets or sets the legend background color

Border

Gets or sets the legend border

Labels

Gets or sets the legend labels

Orientation

Gets or sets the legend orientation

Width

Gets or sets the legend width

Height

Gets or sets the legend height

Reverse

Gets or sets the legend reverse

Item

Gets or sets the legend item

Align

Gets or sets the legend align option

Spacing

The spacing between the labels in pixels when the legend.orientation is "horizontal".

Methods

CreateSerializer

Creates a new ChartLegendSerializer.

Returns

The ChartLegendSerializer instance.

In this article
Not finding the help you need?