Skip to content

Vizzu / Modules / types/styles / Legend

Interface: Legend

types/styles.Legend

Properties for the legend.

Hierarchy

  • Box

    Legend

Properties

backgroundColor

Optional backgroundColor: null | Color

The background color of the element.

Inherited from

Box.backgroundColor


borderColor

Optional borderColor: null | Color

The border color of the element.

Inherited from

Box.borderColor


borderWidth

Optional borderWidth: null | number

The border width of the element.

Inherited from

Box.borderWidth


label

Optional label: null | Label

Style settings for the labels on the legend.


maxWidth

Optional maxWidth: null | Length

Limit for the width of the boundary box.


paddingBottom

Optional paddingBottom: null | Length

Bottom padding of the element.

Inherited from

Padding.paddingBottom


paddingLeft

Optional paddingLeft: null | Length

Left padding of the element.

Inherited from

Padding.paddingLeft


paddingRight

Optional paddingRight: null | Length

Right padding of the element.

Inherited from

Padding.paddingRight


paddingTop

Optional paddingTop: null | Length

Top padding of the element.

Inherited from

Padding.paddingTop


title

Optional title: null | Label

Style settings for the legend's title.


width

Optional width: null | Length

Width of the legend's boundary box.