Skip to content

Vizzu / Modules / vizzu / Styles / Legend

Interface: Legend

vizzu.Styles.Legend

Hierarchy

  • Box

    Legend

Properties

backgroundColor

Optional backgroundColor: Color

The background color of the element.

Inherited from

Box.backgroundColor


borderColor

Optional borderColor: Color

The border color of the element.

Inherited from

Box.borderColor


borderWidth

Optional borderWidth: number

The border width of the element.

Inherited from

Box.borderWidth


label

Optional label: Label

Style settings for the labels on the legend.


marker

Optional marker: LegendMarker


maxWidth

Optional maxWidth: Length

Limit for the width of the boundary box.


paddingBottom

Optional paddingBottom: Length

Bottom padding of the element.

Inherited from

Padding.paddingBottom


paddingLeft

Optional paddingLeft: Length

Left padding of the element.

Inherited from

Padding.paddingLeft


paddingRight

Optional paddingRight: Length

Right padding of the element.

Inherited from

Padding.paddingRight


paddingTop

Optional paddingTop: Length

Top padding of the element.

Inherited from

Padding.paddingTop


title

Optional title: Label

Style settings for the legend's title.


width

Optional width: Length

Width of the legend's boundary box.