Insert chart macro
- Edit a Confluence page
- Type {svg or {chart and select SVG chart macro in page editor
Provide datasource to generate chart:
- Generate chart from Table
- Generate charts from CSV
- Generate chart from SQL
You can edit SVG Chart macro to define chart type, size, title and more parameters in Configure macro.
Switch chart type
If you have choose to display the menu to switch chart type when setting macro parameters, a toolbar will be displayed on top of the chart to switch among chart types.
Highlighted icon indicates current chart type. Click different icons to switch among chart types.
Combination Mode
SINCE 1.2.0
SVG chart macro support combination mode allows you show multi-chart in one diagram
If you add the first column with header '<type>' in table, the chart will change to combination mode.
Input chart type for each line, leave blank will use basic chart type which you selected in macro editor.
<type> | City | Jan | Feb |
---|
line | Beijing |
|
|
bar | Shanghai |
|
|
| Hongkong |
|
|