Divooka Reference

Table Charts

7 nodes

On this page 7

Bar Chart of Table

Function

Bars of one column by another's categories, split by a colour column.

Signature
BarChart -> Figure
    table: Chart Data
    category: Text
    value: Text
    color: Text
    mode: Stack Mode
    title: Text
    language: Chart Language
Figure BarChart(
    ISeriesSource table,
    string category,
    string value,
    string color = "",
    StackMode mode = StackMode.Grouped,
    string title = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
tableChart Data—The table.
categoryText—The column of categories.
valueText—The column of values; repeats of a category add up.
colorText—A column whose values split each bar into a group; empty for one bar per category.
modeStack ModeGroupedHow a category's groups are combined.
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
Table Charts
Package
Data Analytics

Box Plot of Table

Function

Box plots of a column by another's categories.

Signature
BoxPlot -> Figure
    table: Chart Data
    category: Text
    value: Text
    title: Text
    language: Chart Language
Figure BoxPlot(
    ISeriesSource table,
    string category,
    string value,
    string title = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
tableChart Data—The table.
categoryText—The column of categories, a box each.
valueText—The column of values.
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
Table Charts
Package
Data Analytics

Donut of Table

Function

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

Signature
DonutChart -> Figure
    table: Chart Data
    category: Text
    value: Text
    centerText: Text
    title: Text
    language: Chart Language
Figure DonutChart(
    ISeriesSource table,
    string category,
    string value,
    string centerText = "",
    string title = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
tableChart Data—The table.
categoryText—The column naming the slices; the rows of one category make one slice, and a row with none is left out.
valueText—The column of sizes; a category's values add up, and zero, negative and missing ones are left out.
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
Table Charts
Package
Data Analytics

Histogram of Table

Function

A histogram of a column, split by a colour column.

Signature
Histogram -> Figure
    table: Chart Data
    value: Text
    color: Text
    bins: Integer
    title: Text
    language: Chart Language
Figure Histogram(
    ISeriesSource table,
    string value,
    string color = "",
    int bins = 0,
    string title = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
tableChart Data—The table.
valueText—The column of values.
colorText—A column whose values split the counts into groups; empty for one.
binsInteger0About how many bins; 0 picks a number.
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
Table Charts
Package
Data Analytics

Line Chart of Table

Function

A line per colour group through two columns.

Signature
LineChart -> Figure
    table: Chart Data
    x: Text
    y: Text
    color: Text
    title: Text
    language: Chart Language
Figure LineChart(
    ISeriesSource table,
    string x,
    string y,
    string color = "",
    string title = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
tableChart Data—The table.
xText—The column along the bottom: numbers or dates.
yText—The column of heights.
colorText—A column whose values split the data into lines; empty for one line.
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
Table Charts
Package
Data Analytics

Pie of Table

Function

Parts of a whole from two columns: a slice per category, as big as its values add up to, largest first.

Signature
PieChart -> Figure
    table: Chart Data
    category: Text
    value: Text
    title: Text
    language: Chart Language
Figure PieChart(
    ISeriesSource table,
    string category,
    string value,
    string title = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
tableChart Data—The table.
categoryText—The column naming the slices; the rows of one category make one slice, and a row with none is left out.
valueText—The column of sizes; a category's values add up, and zero, negative and missing ones are left out.
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
Table Charts
Package
Data Analytics

Scatter Chart of Table

Function

Points from two columns, coloured by a third.

Signature
ScatterChart -> Figure
    table: Chart Data
    x: Text
    y: Text
    color: Text
    size: Text
    title: Text
    language: Chart Language
Figure ScatterChart(
    ISeriesSource table,
    string x,
    string y,
    string color = "",
    string size = "",
    string title = "",
    ChartLanguage language = ChartLanguage.English)

Parameters

nametypedefaultdescription
tableChart Data—The table.
xText—The column of horizontal values.
yText—The column of vertical values.
colorText—A column to colour the points by: categories or numbers; empty for one colour.
sizeText—A column of numbers to size the points by; empty for one 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
Table Charts
Package
Data Analytics