Skip to content

Vizzu / Modules / types/styles / Chart

Interface: Chart

types/styles.Chart

Properties for the chart.

Hierarchy

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


caption

Optional caption: null | Label

Style settings for the main chart caption.


fontFamily

Optional fontFamily: null | string

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

Inherited from

Font.fontFamily


fontSize

Optional fontSize: null | Length

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

Inherited from

Font.fontSize


fontStyle

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

The style of the font.

Inherited from

Font.fontStyle


fontWeight

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

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

Inherited from

Font.fontWeight


legend

Optional legend: null | Legend

Style settings for the legend.


Optional logo: null | Logo

Style settings of the Vizzu logo.


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


plot

Optional plot: null | Plot

Style settings for the plot area.


subtitle

Optional subtitle: null | Label

Style settings for the main chart subtitle.


title

Optional title: null | Label

Style settings for the main chart title.


tooltip

Optional tooltip: null | Tooltip

Style settings for the tooltip.