Vizzu / Modules / types/presets / Presets
Interface: Presets
types/presets.Presets
Collection of factory functions for creating preset chart configs.
Methods
area
▸ area(config): Chart
Creates a chart config for the area preset.
Parameters
| Name | Type | 
|---|---|
config | 
Area | 
Returns
bar
▸ bar(config): Chart
Creates a chart config for the bar preset.
Parameters
| Name | Type | 
|---|---|
config | 
Bar | 
Returns
bubble
▸ bubble(config): Chart
Creates a chart config for the bubble preset.
Parameters
| Name | Type | 
|---|---|
config | 
Bubble | 
Returns
bubbleplot
▸ bubbleplot(config): Chart
Creates a chart config for the bubbleplot preset.
Parameters
| Name | Type | 
|---|---|
config | 
Bubbleplot | 
Returns
column
▸ column(config): Chart
Creates a chart config for the column preset.
Parameters
| Name | Type | 
|---|---|
config | 
Column | 
Returns
donut
▸ donut(config): Chart
Creates a chart config for the donut preset.
Parameters
| Name | Type | 
|---|---|
config | 
Donut | 
Returns
groupedBar
▸ groupedBar(config): Chart
Creates a chart config for the groupedBar preset.
Parameters
| Name | Type | 
|---|---|
config | 
GroupedBar | 
Returns
groupedColumn
▸ groupedColumn(config): Chart
Creates a chart config for the groupedColumn preset.
Parameters
| Name | Type | 
|---|---|
config | 
GroupedColumn | 
Returns
heatmap
▸ heatmap(config): Chart
Creates a chart config for the heatmap preset.
Parameters
| Name | Type | 
|---|---|
config | 
Heatmap | 
Returns
line
▸ line(config): Chart
Creates a chart config for the line preset.
Parameters
| Name | Type | 
|---|---|
config | 
Line | 
Returns
lollipop
▸ lollipop(config): Chart
Creates a chart config for the lollipop preset.
Parameters
| Name | Type | 
|---|---|
config | 
Lollipop | 
Returns
marimekko
▸ marimekko(config): Chart
Creates a chart config for the marimekko preset.
Parameters
| Name | Type | 
|---|---|
config | 
Marimekko | 
Returns
mekko
▸ mekko(config): Chart
Creates a chart config for the mekko preset.
Parameters
| Name | Type | 
|---|---|
config | 
Mekko | 
Returns
nestedDonut
▸ nestedDonut(config): Chart
Creates a chart config for the nestedDonut preset.
Parameters
| Name | Type | 
|---|---|
config | 
NestedDonut | 
Returns
percentageArea
▸ percentageArea(config): Chart
Creates a chart config for the percentageArea preset.
Parameters
| Name | Type | 
|---|---|
config | 
PercentageArea | 
Returns
percentageBar
▸ percentageBar(config): Chart
Creates a chart config for the percentageBar preset.
Parameters
| Name | Type | 
|---|---|
config | 
PercentageBar | 
Returns
percentageColumn
▸ percentageColumn(config): Chart
Creates a chart config for the percentageColumn preset.
Parameters
| Name | Type | 
|---|---|
config | 
PercentageColumn | 
Returns
pie
▸ pie(config): Chart
Creates a chart config for the pie preset.
Parameters
| Name | Type | 
|---|---|
config | 
Pie | 
Returns
polarColumn
▸ polarColumn(config): Chart
Creates a chart config for the polarColumn preset.
Parameters
| Name | Type | 
|---|---|
config | 
PolarColumn | 
Returns
polarLine
▸ polarLine(config): Chart
Creates a chart config for the polarLine preset.
Parameters
| Name | Type | 
|---|---|
config | 
PolarLine | 
Returns
polarScatter
▸ polarScatter(config): Chart
Creates a chart config for the polarScatter preset.
Parameters
| Name | Type | 
|---|---|
config | 
PolarScatter | 
Returns
polarStackedColumn
▸ polarStackedColumn(config): Chart
Creates a chart config for the polarStackedColumn preset.
Parameters
| Name | Type | 
|---|---|
config | 
PolarStackedColumn | 
Returns
radialBar
▸ radialBar(config): Chart
Creates a chart config for the radialBar preset.
Parameters
| Name | Type | 
|---|---|
config | 
RadialBar | 
Returns
radialStackedBar
▸ radialStackedBar(config): Chart
Creates a chart config for the radialStackedBar preset.
Parameters
| Name | Type | 
|---|---|
config | 
RadialStackedBar | 
Returns
scatter
▸ scatter(config): Chart
Creates a chart config for the scatter preset.
Parameters
| Name | Type | 
|---|---|
config | 
Scatter | 
Returns
splittedArea
▸ splittedArea(config): Chart
Creates a chart config for the splittedArea preset.
Parameters
| Name | Type | 
|---|---|
config | 
SplittedArea | 
Returns
splittedBar
▸ splittedBar(config): Chart
Creates a chart config for the splittedBar preset.
Parameters
| Name | Type | 
|---|---|
config | 
SplittedBar | 
Returns
splittedColumn
▸ splittedColumn(config): Chart
Creates a chart config for the splittedColumn preset.
Parameters
| Name | Type | 
|---|---|
config | 
SplittedColumn | 
Returns
stackedArea
▸ stackedArea(config): Chart
Creates a chart config for the stackedArea preset.
Parameters
| Name | Type | 
|---|---|
config | 
StackedArea | 
Returns
stackedBar
▸ stackedBar(config): Chart
Creates a chart config for the stackedBar preset.
Parameters
| Name | Type | 
|---|---|
config | 
StackedBar | 
Returns
stackedBubble
▸ stackedBubble(config): Chart
Creates a chart config for the stackedBubble preset.
Parameters
| Name | Type | 
|---|---|
config | 
StackedBubble | 
Returns
stackedColumn
▸ stackedColumn(config): Chart
Creates a chart config for the stackedColumn preset.
Parameters
| Name | Type | 
|---|---|
config | 
StackedColumn | 
Returns
stackedTreemap
▸ stackedTreemap(config): Chart
Creates a chart config for the stackedTreemap preset.
Parameters
| Name | Type | 
|---|---|
config | 
StackedTreemap | 
Returns
stream
▸ stream(config): Chart
Creates a chart config for the stream preset.
Parameters
| Name | Type | 
|---|---|
config | 
Stream | 
Returns
treemap
▸ treemap(config): Chart
Creates a chart config for the treemap preset.
Parameters
| Name | Type | 
|---|---|
config | 
Treemap | 
Returns
variableRadiusPie
▸ variableRadiusPie(config): Chart
Creates a chart config for the variableRadiusPie preset.
Parameters
| Name | Type | 
|---|---|
config | 
VariableRadiusPie | 
Returns
verticalLine
▸ verticalLine(config): Chart
Creates a chart config for the verticalLine preset.
Parameters
| Name | Type | 
|---|---|
config | 
VerticalLine | 
Returns
verticalStream
▸ verticalStream(config): Chart
Creates a chart config for the verticalStream preset.
Parameters
| Name | Type | 
|---|---|
config | 
VerticalStream | 
Returns
verticalViolin
▸ verticalViolin(config): Chart
Creates a chart config for the verticalViolin preset.
Parameters
| Name | Type | 
|---|---|
config | 
VerticalViolin | 
Returns
violin
▸ violin(config): Chart
Creates a chart config for the violin preset.
Parameters
| Name | Type | 
|---|---|
config | 
Violin | 
Returns
waterfall
▸ waterfall(config): Chart
Creates a chart config for the waterfall preset.
Parameters
| Name | Type | 
|---|---|
config | 
Waterfall | 
Returns