TableToChartJS

Version 1.1 von Burkard Hagspiel am 2025-04-26
Warnung
Aus Sicherheitsgründen wird das Dokument in einem eingeschränkten Modus angezeigt, da es sich nicht um die aktuelle Version handelt. Dadurch kann es zu Abweichungen und Fehlern kommen.

Description

Draws charts using Chart.js and the data from a table.

Usage

(% id="myTable" %)
|=Header1|=Header2
|label|numeric value
...

{{tableToChartJS type="..." table="myTable" /}}

Parameters

Das Makro [velocity] konnte nicht ausgeführt werden. Grund: [The execution of the [velocity] script macro is not allowed in [xwiki:XWiki.ChartJS.TableToChartJS]. Check the rights of its last author or the parameters if it's rendered from another script.]. Klicke auf diese Nachricht, um Details zu erfahren.

Examples

Single Data Set

Issue TypeCount
Bug23
Improvement17
New Feature9
Ideas0

Das Makro [velocity] konnte nicht ausgeführt werden. Grund: [The execution of the [velocity] script macro is not allowed in [xwiki:XWiki.ChartJS.TableToChartJS]. Check the rights of its last author or the parameters if it's rendered from another script.]. Klicke auf diese Nachricht, um Details zu erfahren.

Multiple Data Sets

Das Makro [velocity] konnte nicht ausgeführt werden. Grund: [The execution of the [velocity] script macro is not allowed in [xwiki:XWiki.ChartJS.TableToChartJS]. Check the rights of its last author or the parameters if it's rendered from another script.]. Klicke auf diese Nachricht, um Details zu erfahren.

Issue TypeCKEditorDiagram
Bug2534
Improvement1711
New Feature56
Ideas00

Das Makro [velocity] konnte nicht ausgeführt werden. Grund: [The execution of the [velocity] script macro is not allowed in [xwiki:XWiki.ChartJS.TableToChartJS]. Check the rights of its last author or the parameters if it's rendered from another script.]. Klicke auf diese Nachricht, um Details zu erfahren.

Month20162017
January6561
February5973
March8082
April8169
May5670
June5558
July4047

Das Makro [velocity] konnte nicht ausgeführt werden. Grund: [The execution of the [velocity] script macro is not allowed in [xwiki:XWiki.ChartJS.TableToChartJS]. Check the rights of its last author or the parameters if it's rendered from another script.]. Klicke auf diese Nachricht, um Details zu erfahren.

Month20162017
Eating6528
Running40100
Cycling5527
Coding5696
Designing8119
Sleeping9040
Drinking5948

Merged Data Sets

Issue TypeProjectCount
BugCKEditor23
BugDiagram34
ImprovementCKEditor17
ImprovementDiagram11
New FeatureCKEditor5
New FeatureDiagram6

Das Makro [velocity] konnte nicht ausgeführt werden. Grund: [The execution of the [velocity] script macro is not allowed in [xwiki:XWiki.ChartJS.TableToChartJS]. Check the rights of its last author or the parameters if it's rendered from another script.]. Klicke auf diese Nachricht, um Details zu erfahren.