Skip to content

Vizzu / Modules / vizzu / Styles / Chart

Interface: Chart

vizzu.Styles.Chart

Hierarchy

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


fontFamily

Optional fontFamily: string

The family of the font. If not set, it inherits the root style font family.

Inherited from

Font.fontFamily


fontSize

Optional fontSize: Length

The size of the font. Percentage values are relative to the root style font size

Inherited from

Font.fontSize


fontStyle

Optional fontStyle: "normal" | "italic" | "oblique"

The style of the font.

Inherited from

Font.fontStyle


fontWeight

Optional fontWeight: number | "bold" | "normal"

The weight of the font, numbers use the same scale as CSS.

Inherited from

Font.fontWeight


legend

Optional legend: Legend

Style settings for the legend.


Optional logo: Logo

Style settings of the Vizzu logo.


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


plot

Optional plot: Plot

Style settings for the plot area.


title

Optional title: Label

Style settings for the main chart title.


tooltip

Optional tooltip: Tooltip

Style settings for the tooltip.