Skip to content

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

Chart


bar

bar(config): Chart

Creates a chart config for the bar preset.

Parameters

Name Type
config Bar

Returns

Chart


bubble

bubble(config): Chart

Creates a chart config for the bubble preset.

Parameters

Name Type
config Bubble

Returns

Chart


bubbleplot

bubbleplot(config): Chart

Creates a chart config for the bubbleplot preset.

Parameters

Name Type
config Bubbleplot

Returns

Chart


column

column(config): Chart

Creates a chart config for the column preset.

Parameters

Name Type
config Column

Returns

Chart


donut

donut(config): Chart

Creates a chart config for the donut preset.

Parameters

Name Type
config Donut

Returns

Chart


groupedBar

groupedBar(config): Chart

Creates a chart config for the groupedBar preset.

Parameters

Name Type
config GroupedBar

Returns

Chart


groupedColumn

groupedColumn(config): Chart

Creates a chart config for the groupedColumn preset.

Parameters

Name Type
config GroupedColumn

Returns

Chart


heatmap

heatmap(config): Chart

Creates a chart config for the heatmap preset.

Parameters

Name Type
config Heatmap

Returns

Chart


line

line(config): Chart

Creates a chart config for the line preset.

Parameters

Name Type
config Line

Returns

Chart


lollipop

lollipop(config): Chart

Creates a chart config for the lollipop preset.

Parameters

Name Type
config Lollipop

Returns

Chart


marimekko

marimekko(config): Chart

Creates a chart config for the marimekko preset.

Parameters

Name Type
config Marimekko

Returns

Chart


mekko

mekko(config): Chart

Creates a chart config for the mekko preset.

Parameters

Name Type
config Mekko

Returns

Chart


nestedDonut

nestedDonut(config): Chart

Creates a chart config for the nestedDonut preset.

Parameters

Name Type
config NestedDonut

Returns

Chart


percentageArea

percentageArea(config): Chart

Creates a chart config for the percentageArea preset.

Parameters

Name Type
config PercentageArea

Returns

Chart


percentageBar

percentageBar(config): Chart

Creates a chart config for the percentageBar preset.

Parameters

Name Type
config PercentageBar

Returns

Chart


percentageColumn

percentageColumn(config): Chart

Creates a chart config for the percentageColumn preset.

Parameters

Name Type
config PercentageColumn

Returns

Chart


pie

pie(config): Chart

Creates a chart config for the pie preset.

Parameters

Name Type
config Pie

Returns

Chart


polarColumn

polarColumn(config): Chart

Creates a chart config for the polarColumn preset.

Parameters

Name Type
config PolarColumn

Returns

Chart


polarLine

polarLine(config): Chart

Creates a chart config for the polarLine preset.

Parameters

Name Type
config PolarLine

Returns

Chart


polarScatter

polarScatter(config): Chart

Creates a chart config for the polarScatter preset.

Parameters

Name Type
config PolarScatter

Returns

Chart


polarStackedColumn

polarStackedColumn(config): Chart

Creates a chart config for the polarStackedColumn preset.

Parameters

Name Type
config PolarStackedColumn

Returns

Chart


radialBar

radialBar(config): Chart

Creates a chart config for the radialBar preset.

Parameters

Name Type
config RadialBar

Returns

Chart


radialStackedBar

radialStackedBar(config): Chart

Creates a chart config for the radialStackedBar preset.

Parameters

Name Type
config RadialStackedBar

Returns

Chart


scatter

scatter(config): Chart

Creates a chart config for the scatter preset.

Parameters

Name Type
config Scatter

Returns

Chart


splittedArea

splittedArea(config): Chart

Creates a chart config for the splittedArea preset.

Parameters

Name Type
config SplittedArea

Returns

Chart


splittedBar

splittedBar(config): Chart

Creates a chart config for the splittedBar preset.

Parameters

Name Type
config SplittedBar

Returns

Chart


splittedColumn

splittedColumn(config): Chart

Creates a chart config for the splittedColumn preset.

Parameters

Name Type
config SplittedColumn

Returns

Chart


stackedArea

stackedArea(config): Chart

Creates a chart config for the stackedArea preset.

Parameters

Name Type
config StackedArea

Returns

Chart


stackedBar

stackedBar(config): Chart

Creates a chart config for the stackedBar preset.

Parameters

Name Type
config StackedBar

Returns

Chart


stackedBubble

stackedBubble(config): Chart

Creates a chart config for the stackedBubble preset.

Parameters

Name Type
config StackedBubble

Returns

Chart


stackedColumn

stackedColumn(config): Chart

Creates a chart config for the stackedColumn preset.

Parameters

Name Type
config StackedColumn

Returns

Chart


stackedTreemap

stackedTreemap(config): Chart

Creates a chart config for the stackedTreemap preset.

Parameters

Name Type
config StackedTreemap

Returns

Chart


stream

stream(config): Chart

Creates a chart config for the stream preset.

Parameters

Name Type
config Stream

Returns

Chart


treemap

treemap(config): Chart

Creates a chart config for the treemap preset.

Parameters

Name Type
config Treemap

Returns

Chart


variableRadiusPie

variableRadiusPie(config): Chart

Creates a chart config for the variableRadiusPie preset.

Parameters

Name Type
config VariableRadiusPie

Returns

Chart


verticalLine

verticalLine(config): Chart

Creates a chart config for the verticalLine preset.

Parameters

Name Type
config VerticalLine

Returns

Chart


verticalStream

verticalStream(config): Chart

Creates a chart config for the verticalStream preset.

Parameters

Name Type
config VerticalStream

Returns

Chart


verticalViolin

verticalViolin(config): Chart

Creates a chart config for the verticalViolin preset.

Parameters

Name Type
config VerticalViolin

Returns

Chart


violin

violin(config): Chart

Creates a chart config for the violin preset.

Parameters

Name Type
config Violin

Returns

Chart


waterfall

waterfall(config): Chart

Creates a chart config for the waterfall preset.

Parameters

Name Type
config Waterfall

Returns

Chart