Divooka Reference

Charts

27 nodes

On this page 27

Area Chart

Function

A filled area under a line.

Signature
AreaChart -> Figure
    x: Vector
    y: Vector
    title: Text
    xTitle: Text
    yTitle: Text
    language: Chart Language
Figure AreaChart(
    DivookaTensor1D x,
    DivookaTensor1D y,
    string title = "",
    string xTitle = "",
    string yTitle = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
xVector—Where each point is along the bottom.
yVector—How high each point is.
titleText—The chart's title.
xTitleText—The horizontal axis' title.
yTitleText—The vertical axis' title.
languageChart LanguageEnglishThe language of the words the chart writes itself - an axis it titles, a series nobody named, month and day names on a time axis - and of the headings it writes into a workbook, a slide deck or a document.

Returns

ChartFigure
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Charts
Package
Data Analytics

Bar Chart

Function

A bar per category.

Signature
BarChart -> Figure
    categories: Text Array
    values: Vector
    title: Text
    valueTitle: Text
    horizontal: Truth
    valueLabels: Truth
    language: Chart Language
Figure BarChart(
    string[] categories,
    DivookaTensor1D values,
    string title = "",
    string valueTitle = "",
    bool horizontal = false,
    bool valueLabels = false,
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
categoriesText Array—Each bar's name.
valuesVector—Each bar's length.
titleText—The chart's title.
valueTitleText—The value axis' title.
horizontalTruthFalseWhether the bars run left to right.
valueLabelsTruthFalseWhether each bar's value is written at its end.
languageChart LanguageEnglishThe language of the words the chart writes itself - an axis it titles, a series nobody named, month and day names on a time axis - and of the headings it writes into a workbook, a slide deck or a document.

Returns

ChartFigure
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Charts
Package
Data Analytics

Box Plot

Function

Groups of values compared by their quartiles: a box from the first to the third, the median across it, whiskers and outliers.

Signature
BoxPlotChart -> Figure
    groups: Vector Array
    names: Text Array
    title: Text
    valueTitle: Text
    language: Chart Language
Figure BoxPlotChart(
    DivookaTensor1D[] groups,
    string[] names,
    string title = "",
    string valueTitle = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
groupsVector Array—One vector of values per group.
namesText Array—Each group's name.
titleText—The chart's title.
valueTitleText—The value axis' title.
languageChart LanguageEnglishThe language of the words the chart writes itself - an axis it titles, a series nobody named, month and day names on a time axis - and of the headings it writes into a workbook, a slide deck or a document.

Returns

ChartFigure
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Charts
Package
Data Analytics

Bubble Chart

Function

Points whose area shows a third number.

Signature
BubbleChart -> Figure
    x: Vector
    y: Vector
    sizes: Vector
    title: Text
    xTitle: Text
    yTitle: Text
    language: Chart Language
Figure BubbleChart(
    DivookaTensor1D x,
    DivookaTensor1D y,
    DivookaTensor1D sizes,
    string title = "",
    string xTitle = "",
    string yTitle = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
xVector—Each bubble's horizontal value.
yVector—Each bubble's vertical value.
sizesVector—Each bubble's size, shown by its area.
titleText—The chart's title.
xTitleText—The horizontal axis' title.
yTitleText—The vertical axis' title.
languageChart LanguageEnglishThe language of the words the chart writes itself - an axis it titles, a series nobody named, month and day names on a time axis - and of the headings it writes into a workbook, a slide deck or a document.

Returns

ChartFigure
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Charts
Package
Data Analytics

Candlestick Chart

Function

Prices over periods: each period's open and close as a body and its high and low as a wick, rises and falls in their own colours.

Signature
CandlestickChart -> Figure
    dates: Date & Time Array
    open: Vector
    high: Vector
    low: Vector
    close: Vector
    title: Text
    yTitle: Text
    language: Chart Language
Figure CandlestickChart(
    DateTime[] dates,
    DivookaTensor1D open,
    DivookaTensor1D high,
    DivookaTensor1D low,
    DivookaTensor1D close,
    string title = "",
    string yTitle = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
datesDate & Time Array—Each period's date.
openVector—Each period's opening price.
highVector—Each period's highest price.
lowVector—Each period's lowest price.
closeVector—Each period's closing price.
titleText—The chart's title.
yTitleText—The price axis' title.
languageChart LanguageEnglishThe language of the words the chart writes itself - an axis it titles, a series nobody named, month and day names on a time axis - and of the headings it writes into a workbook, a slide deck or a document.

Returns

ChartFigure
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Charts
Package
Data Analytics

Contour Map

Function

Contours of a grid of numbers: filled bands between levels, like a map's height lines.

Signature
ContourChart -> Figure
    rows: Vector Array
    xFrom: Number
    xTo: Number
    yTop: Number
    yBottom: Number
    levels: Integer
    title: Text
    language: Chart Language
Figure ContourChart(
    DivookaTensor1D[] rows,
    double xFrom = 0,
    double xTo = 1,
    double yTop = 1,
    double yBottom = 0,
    int levels = 10,
    string title = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
rowsVector Array—One vector per row, the first row at the top - the order Heat Map draws them in, so one grid reads the same way in both.
xFromNumber0The x value of each row's first column.
xToNumber1The x value of each row's last column.
yTopNumber1The y value of the first row, at the top.
yBottomNumber0The y value of the last row, at the bottom.
levelsInteger10About how many levels.
titleText—The chart's title.
languageChart LanguageEnglishThe language of the words the chart writes itself - an axis it titles, a series nobody named, month and day names on a time axis - and of the headings it writes into a workbook, a slide deck or a document.

Returns

ChartFigure
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Charts
Package
Data Analytics

Density Plot

Function

Smooth curves of how values are spread, one per group.

Signature
DensityChart -> Figure
    groups: Vector Array
    names: Text Array
    title: Text
    xTitle: Text
    language: Chart Language
Figure DensityChart(
    DivookaTensor1D[] groups,
    string[] names,
    string title = "",
    string xTitle = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
groupsVector Array—One vector of values per group.
namesText Array—Each group's name.
titleText—The chart's title.
xTitleText—The horizontal axis' title.
languageChart LanguageEnglishThe language of the words the chart writes itself - an axis it titles, a series nobody named, month and day names on a time axis - and of the headings it writes into a workbook, a slide deck or a document.

Returns

ChartFigure
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Charts
Package
Data Analytics

Donut Chart

Function

Parts of a whole as a ring, with room in the middle for a total or a title.

Signature
DonutChart -> Figure
    labels: Text Array
    values: Vector
    centerText: Text
    title: Text
    language: Chart Language
Figure DonutChart(
    string[] labels,
    DivookaTensor1D values,
    string centerText = "",
    string title = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
labelsText Array—Each slice's name.
valuesVector—Each slice's size.
centerTextText—What the hole says.
titleText—The chart's title.
languageChart LanguageEnglishThe language of the words the chart writes itself - an axis it titles, a series nobody named, month and day names on a time axis - and of the headings it writes into a workbook, a slide deck or a document.

Returns

ChartFigure
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Charts
Package
Data Analytics

Funnel Chart

Function

Stages that narrow: each stage a bar centred on the middle, its value written on it.

Signature
FunnelChart -> Figure
    stages: Text Array
    values: Vector
    title: Text
    language: Chart Language
Figure FunnelChart(
    string[] stages,
    DivookaTensor1D values,
    string title = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
stagesText Array—Each stage's name, from first to last.
valuesVector—How many reached each stage.
titleText—The chart's title.
languageChart LanguageEnglishThe language of the words the chart writes itself - an axis it titles, a series nobody named, month and day names on a time axis - and of the headings it writes into a workbook, a slide deck or a document.

Returns

ChartFigure
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Charts
Package
Data Analytics

Grouped Bar Chart

Function

Several series of bars over the same categories: side by side, piled up, or piled to 100%.

Signature
GroupedBarChart -> Figure
    categories: Text Array
    values: Vector Array
    names: Text Array
    mode: Stack Mode
    horizontal: Truth
    title: Text
    valueTitle: Text
    language: Chart Language
Figure GroupedBarChart(
    string[] categories,
    DivookaTensor1D[] values,
    string[] names,
    StackMode mode = StackMode.Grouped,
    bool horizontal = false,
    string title = "",
    string valueTitle = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
categoriesText Array—The categories.
valuesVector Array—One vector of values per series.
namesText Array—Each series' name.
modeStack ModeGroupedWhether a category's bars stand side by side, pile up, or pile up to 100%.
horizontalTruthFalseWhether the bars run left to right.
titleText—The chart's title.
valueTitleText—The value axis' title.
languageChart LanguageEnglishThe language of the words the chart writes itself - an axis it titles, a series nobody named, month and day names on a time axis - and of the headings it writes into a workbook, a slide deck or a document.

Returns

ChartFigure
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Charts
Package
Data Analytics

Heat Map

Function

A grid of numbers as coloured cells, rows top to bottom.

Signature
HeatmapChart -> Figure
    rows: Vector Array
    rowLabels: Text Array
    columnLabels: Text Array
    showValues: Truth
    title: Text
    language: Chart Language
Figure HeatmapChart(
    DivookaTensor1D[] rows,
    string[] rowLabels,
    string[] columnLabels,
    bool showValues = false,
    string title = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
rowsVector Array—One vector per row.
rowLabelsText Array—Each row's name; unset, numbered.
columnLabelsText Array—Each column's name; unset, numbered.
showValuesTruthFalseWhether each cell's value is written in it.
titleText—The chart's title.
languageChart LanguageEnglishThe language of the words the chart writes itself - an axis it titles, a series nobody named, month and day names on a time axis - and of the headings it writes into a workbook, a slide deck or a document.

Returns

ChartFigure
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Charts
Package
Data Analytics

Histogram

Function

How values are spread: counted into bins on round-number edges.

Signature
HistogramChart -> Figure
    values: Vector
    bins: Integer
    title: Text
    xTitle: Text
    language: Chart Language
Figure HistogramChart(
    DivookaTensor1D values,
    int bins = 0,
    string title = "",
    string xTitle = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
valuesVector—The values.
binsInteger0About how many bins; 0 picks a number from how many values there are.
titleText—The chart's title.
xTitleText—The horizontal axis' title.
languageChart LanguageEnglishThe language of the words the chart writes itself - an axis it titles, a series nobody named, month and day names on a time axis - and of the headings it writes into a workbook, a slide deck or a document.

Returns

ChartFigure
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Charts
Package
Data Analytics

Line Chart

Function

A line through points: values over a range, a function, a measurement in order.

Signature
LineChart -> Figure
    x: Vector
    y: Vector
    title: Text
    xTitle: Text
    yTitle: Text
    language: Chart Language
Figure LineChart(
    DivookaTensor1D x,
    DivookaTensor1D y,
    string title = "",
    string xTitle = "",
    string yTitle = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
xVector—Where each point is along the bottom.
yVector—How high each point is.
titleText—The chart's title.
xTitleText—The horizontal axis' title.
yTitleText—The vertical axis' title.
languageChart LanguageEnglishThe language of the words the chart writes itself - an axis it titles, a series nobody named, month and day names on a time axis - and of the headings it writes into a workbook, a slide deck or a document.

Returns

ChartFigure
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Charts
Package
Data Analytics

Multi-Line Chart

Function

Several lines over the same x values, each named in the legend.

Signature
MultiLineChart -> Figure
    x: Vector
    ys: Vector Array
    names: Text Array
    title: Text
    xTitle: Text
    yTitle: Text
    language: Chart Language
Figure MultiLineChart(
    DivookaTensor1D x,
    DivookaTensor1D[] ys,
    string[] names,
    string title = "",
    string xTitle = "",
    string yTitle = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
xVector—Where each point is along the bottom.
ysVector Array—One vector of heights per line.
namesText Array—Each line's name.
titleText—The chart's title.
xTitleText—The horizontal axis' title.
yTitleText—The vertical axis' title.
languageChart LanguageEnglishThe language of the words the chart writes itself - an axis it titles, a series nobody named, month and day names on a time axis - and of the headings it writes into a workbook, a slide deck or a document.

Returns

ChartFigure
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Charts
Package
Data Analytics

Network Graph

Function

Things and who they connect to, laid out so connected things sit together.

Signature
NetworkChart -> Figure
    from: Text Array
    to: Text Array
    nodes: Text Array
    groups: Text Array
    title: Text
    language: Chart Language
Figure NetworkChart(
    string[] from,
    string[] to,
    string[] nodes,
    string[] groups,
    string title = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
fromText Array—Each link's first end.
toText Array—Each link's second end.
nodesText Array—Things to colour by group, paired with the groups.
groupsText Array—Each of those things' group.
titleText—The chart's title.
languageChart LanguageEnglishThe language of the words the chart writes itself - an axis it titles, a series nobody named, month and day names on a time axis - and of the headings it writes into a workbook, a slide deck or a document.

Returns

ChartFigure
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Charts
Package
Data Analytics

Pie Chart

Function

Parts of a whole as slices, largest first.

Signature
PieChart -> Figure
    labels: Text Array
    values: Vector
    title: Text
    language: Chart Language
Figure PieChart(
    string[] labels,
    DivookaTensor1D values,
    string title = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
labelsText Array—Each slice's name.
valuesVector—Each slice's size.
titleText—The chart's title.
languageChart LanguageEnglishThe language of the words the chart writes itself - an axis it titles, a series nobody named, month and day names on a time axis - and of the headings it writes into a workbook, a slide deck or a document.

Returns

ChartFigure
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Charts
Package
Data Analytics

Population Pyramid

Function

Two populations back to back, age group by age group: the left side's bars run left, the right side's run right.

Signature
PopulationPyramid -> Figure
    groups: Text Array
    left: Vector
    right: Vector
    leftName: Text
    rightName: Text
    title: Text
    language: Chart Language
Figure PopulationPyramid(
    string[] groups,
    DivookaTensor1D left,
    DivookaTensor1D right,
    string leftName = "Male",
    string rightName = "Female",
    string title = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
groupsText Array—The age groups (or any categories), youngest first.
leftVector—Each group's count on the left side.
rightVector—Each group's count on the right side.
leftNameTextMaleThe left side's name.
rightNameTextFemaleThe right side's name.
titleText—The chart's title.
languageChart LanguageEnglishThe language of the words the chart writes itself - an axis it titles, a series nobody named, month and day names on a time axis - and of the headings it writes into a workbook, a slide deck or a document.

Returns

ChartFigure
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Charts
Package
Data Analytics

Radar Chart

Function

Subjects compared across several measures, one shape per subject on spokes.

Signature
RadarChart -> Figure
    spokes: Text Array
    values: Vector Array
    names: Text Array
    title: Text
    language: Chart Language
Figure RadarChart(
    string[] spokes,
    DivookaTensor1D[] values,
    string[] names,
    string title = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
spokesText Array—The measures, round the circle.
valuesVector Array—One vector per subject, a value per spoke.
namesText Array—Each subject's name.
titleText—The chart's title.
languageChart LanguageEnglishThe language of the words the chart writes itself - an axis it titles, a series nobody named, month and day names on a time axis - and of the headings it writes into a workbook, a slide deck or a document.

Returns

ChartFigure
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Charts
Package
Data Analytics

Scatter Chart

Function

Points placed by two numbers each: how one quantity goes with another.

Signature
ScatterChart -> Figure
    x: Vector
    y: Vector
    title: Text
    xTitle: Text
    yTitle: Text
    language: Chart Language
Figure ScatterChart(
    DivookaTensor1D x,
    DivookaTensor1D y,
    string title = "",
    string xTitle = "",
    string yTitle = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
xVector—Each point's horizontal value.
yVector—Each point's vertical value.
titleText—The chart's title.
xTitleText—The horizontal axis' title.
yTitleText—The vertical axis' title.
languageChart LanguageEnglishThe language of the words the chart writes itself - an axis it titles, a series nobody named, month and day names on a time axis - and of the headings it writes into a workbook, a slide deck or a document.

Returns

ChartFigure
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Charts
Package
Data Analytics

Stacked Area Chart

Function

Several areas piled up over the same x values: how a total divides over time.

Signature
StackedAreaChart -> Figure
    x: Vector
    ys: Vector Array
    names: Text Array
    percent: Truth
    title: Text
    xTitle: Text
    yTitle: Text
    language: Chart Language
Figure StackedAreaChart(
    DivookaTensor1D x,
    DivookaTensor1D[] ys,
    string[] names,
    bool percent = false,
    string title = "",
    string xTitle = "",
    string yTitle = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
xVector—Where each point is along the bottom.
ysVector Array—One vector of heights per area.
namesText Array—Each area's name.
percentTruthFalseWhether each pile is scaled to 100%, showing shares rather than amounts.
titleText—The chart's title.
xTitleText—The horizontal axis' title.
yTitleText—The vertical axis' title.
languageChart LanguageEnglishThe language of the words the chart writes itself - an axis it titles, a series nobody named, month and day names on a time axis - and of the headings it writes into a workbook, a slide deck or a document.

Returns

ChartFigure
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Charts
Package
Data Analytics

Sunburst

Function

A hierarchy as rings, the top level in the middle.

Signature
SunburstChart -> Figure
    names: Text Array
    values: Vector
    parents: Text Array
    title: Text
    language: Chart Language
Figure SunburstChart(
    string[] names,
    DivookaTensor1D values,
    string[] parents,
    string title = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
namesText Array—Each item's name.
valuesVector—Each item's own size.
parentsText Array—Each item's parent's name; empty for a top-level item.
titleText—The chart's title.
languageChart LanguageEnglishThe language of the words the chart writes itself - an axis it titles, a series nobody named, month and day names on a time axis - and of the headings it writes into a workbook, a slide deck or a document.

Returns

ChartFigure
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Charts
Package
Data Analytics

Timeline

Function

Events along a line of dates, their names alternating above and below it.

Signature
TimelineChart -> Figure
    times: Date & Time Array
    events: Text Array
    title: Text
    language: Chart Language
Figure TimelineChart(
    DateTime[] times,
    string[] events,
    string title = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
timesDate & Time Array—When each event happened.
eventsText Array—Each event's name.
titleText—The chart's title.
languageChart LanguageEnglishThe language of the words the chart writes itself - an axis it titles, a series nobody named, month and day names on a time axis - and of the headings it writes into a workbook, a slide deck or a document.

Returns

ChartFigure
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Charts
Package
Data Analytics

Time Series Chart

Function

A line over dates: a price, a temperature, a count by day.

Signature
TimeSeriesChart -> Figure
    times: Date & Time Array
    values: Vector
    title: Text
    yTitle: Text
    language: Chart Language
Figure TimeSeriesChart(
    DateTime[] times,
    DivookaTensor1D values,
    string title = "",
    string yTitle = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
timesDate & Time Array—When each value was taken.
valuesVector—The values.
titleText—The chart's title.
yTitleText—The vertical axis' title.
languageChart LanguageEnglishThe language of the words the chart writes itself - an axis it titles, a series nobody named, month and day names on a time axis - and of the headings it writes into a workbook, a slide deck or a document.

Returns

ChartFigure
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Charts
Package
Data Analytics

Treemap

Function

A hierarchy as nested rectangles, each the size of its value.

Signature
TreemapChart -> Figure
    names: Text Array
    values: Vector
    parents: Text Array
    title: Text
    language: Chart Language
Figure TreemapChart(
    string[] names,
    DivookaTensor1D values,
    string[] parents,
    string title = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
namesText Array—Each item's name.
valuesVector—Each item's own size.
parentsText Array—Each item's parent's name; empty for a top-level item. Unset, every item is top-level.
titleText—The chart's title.
languageChart LanguageEnglishThe language of the words the chart writes itself - an axis it titles, a series nobody named, month and day names on a time axis - and of the headings it writes into a workbook, a slide deck or a document.

Returns

ChartFigure
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Charts
Package
Data Analytics

Scatter with Trend

Function

Points with a fitted trend through them: a straight line, a curve, or a smooth fit, with its confidence band and equation.

Signature
TrendChart -> Figure
    x: Vector
    y: Vector
    kind: Trend Kind
    degree: Integer
    showEquation: Truth
    title: Text
    xTitle: Text
    yTitle: Text
    language: Chart Language
Figure TrendChart(
    DivookaTensor1D x,
    DivookaTensor1D y,
    TrendKind kind = TrendKind.Linear,
    int degree = 2,
    bool showEquation = true,
    string title = "",
    string xTitle = "",
    string yTitle = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
xVector—Each point's horizontal value.
yVector—Each point's vertical value.
kindTrend KindLinearWhat kind of trend is fitted.
degreeInteger2A polynomial trend's degree: 2 for a parabola, 3 for a cubic.
showEquationTruthTrueWhether the fitted equation is written on the chart.
titleText—The chart's title.
xTitleText—The horizontal axis' title.
yTitleText—The vertical axis' title.
languageChart LanguageEnglishThe language of the words the chart writes itself - an axis it titles, a series nobody named, month and day names on a time axis - and of the headings it writes into a workbook, a slide deck or a document.

Returns

ChartFigure
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Charts
Package
Data Analytics

Violin Plot

Function

Groups of values compared by the shape of their distributions.

Signature
ViolinChart -> Figure
    groups: Vector Array
    names: Text Array
    title: Text
    valueTitle: Text
    language: Chart Language
Figure ViolinChart(
    DivookaTensor1D[] groups,
    string[] names,
    string title = "",
    string valueTitle = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
groupsVector Array—One vector of values per group.
namesText Array—Each group's name.
titleText—The chart's title.
valueTitleText—The value axis' title.
languageChart LanguageEnglishThe language of the words the chart writes itself - an axis it titles, a series nobody named, month and day names on a time axis - and of the headings it writes into a workbook, a slide deck or a document.

Returns

ChartFigure
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Charts
Package
Data Analytics

Waterfall Chart

Function

A running total told step by step: each change a bar floating from where the last one ended, rises and falls in their own colours, and totals standing from zero.

Signature
WaterfallChart -> Figure
    categories: Text Array
    values: Vector
    totals: Text Array
    total: Truth
    title: Text
    valueTitle: Text
    language: Chart Language
Figure WaterfallChart(
    string[] categories,
    DivookaTensor1D values,
    string[] totals,
    bool total = true,
    string title = "",
    string valueTitle = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
categoriesText Array—Each step's name, in order.
valuesVector—Each step's change: a rise above zero, a fall below.
totalsText Array—The categories that are totals - a subtotal, the end of a period: their bars stand from zero to the running total so far, and their own values are not added.
totalTruthTrueWhether a last bar shows the final total.
titleText—The chart's title.
valueTitleText—The value axis' title.
languageChart LanguageEnglishThe language of the words the chart writes itself - an axis it titles, a series nobody named, month and day names on a time axis - and of the headings it writes into a workbook, a slide deck or a document.

Returns

ChartFigure
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Charts
Package
Data Analytics