Skip to content

Vizzu


Vizzu / types/styles / Legend

Interface: Legend

Properties for the legend.

Extends

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.


translateY?

optional translateY: null | Length

Vertical translation of the marker list.


width?

optional width: null | Length

Width of the legend's boundary box.