Vizzu / Modules / types/styles / Chart
Interface: Chart
types/styles.Chart
Properties for the chart.
Hierarchy
-
↳
Chart
Properties
backgroundColor
• Optional
backgroundColor: null
|
Color
The background color of the element.
Inherited from
borderColor
• Optional
borderColor: null
|
Color
The border color of the element.
Inherited from
borderWidth
• Optional
borderWidth: null
| number
The border width of the element.
Inherited from
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
fontSize
• Optional
fontSize: null
|
Length
The size of the font. Percentage values are relative to the root style font size.
Inherited from
fontStyle
• Optional
fontStyle: null
| "normal"
| "italic"
| "oblique"
The style of the font.
Inherited from
fontWeight
• Optional
fontWeight: null
| number
| "bold"
| "normal"
The weight of the font, numbers use the same scale as CSS.
Inherited from
legend
• Optional
legend: null
| Legend
Style settings for the legend.
logo
• Optional
logo: null
| Logo
Style settings of the Vizzu logo.
paddingBottom
• Optional
paddingBottom: null
|
Length
Bottom padding of the element.
Inherited from
paddingLeft
• Optional
paddingLeft: null
|
Length
Left padding of the element.
Inherited from
paddingRight
• Optional
paddingRight: null
|
Length
Right padding of the element.
Inherited from
paddingTop
• Optional
paddingTop: null
|
Length
Top padding of the element.
Inherited from
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.