Skip to content

Vizzu


Vizzu / types/styles / Chart

Interface: Chart

Properties for the chart.

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


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.