The Chart macro allows you to display a chart based on tabular data. When entering the macro code, you will supply the data and choose the format of the chart.

Below we tell you how to add the Chart macro to your page.

On this page:

チャート マクロを使用する

これは棒グラフの簡単な例です。

必要な入力項目

表示結果

{chart:type=bar|title=Fish Sold}
|| Fish Type || 2004 || 2005 ||
|| Herring | 9,500 | 8,300 |
|| Salmon | 2,900 | 4,200 |
|| Tuna | 1,500 | 1,500 |
{chart}

パラメーター

[Unable to render {include} The included page could not be found. ({include} をレンダリングできません。ページが見つかりませんでした)] を選択し、

Compatibility With Other Macros

[Unable to render {include} The included page could not be found. ({include} をレンダリングできません。ページが見つかりませんでした)] を選択し、

Time Series チャート

必要な入力項目
{chart:type=timeSeries|dateFormat=MM/yyyy|timePeriod=Month| dataOrientation=vertical|rangeAxisLowerBound=0|domainaxisrotateticklabel=true}
|| Month || Revenue ||
| 1/2005 | 31.8 |
| 2/2005 | 41.8 |
| 3/2005 | 51.3|
| 4/2005 | 33.8|
| 5/2005 | 27.6|
| 6/2005 | 49.8|
| 7/2005 | 51.8|
| 8/2005 | 77.3|
| 9/2005 | 73.8|
| 10/2005 | 97.6|
| 11/2005 | 101.2|
| 12/2005 | 113.7|

|| Month || Expenses ||
| 1/2005 | 41.1|
| 2/2005 | 43.8|
| 3/2005 | 45.3|
| 4/2005 | 45.0|
| 5/2005 | 44.6|
| 6/2005 | 43.8|
| 7/2005 | 51.8|
| 8/2005 | 52.3|
| 9/2005 | 53.8|
| 10/2005 | 55.6|
| 11/2005 | 61.2|
| 12/2005 | 63.7|
{chart}
表示結果

XY Line チャート

必要な入力項目
{chart:type=xyline}
||      || 12 || 14 || 23 ||
| Revenue | 41.1 | 31.8 | 12.4 |
| Expense | 31.1 | 41.8 | 43.6 |
{chart}
表示結果

XY Bar Chart

必要な入力項目
{chart:type=xybar|opacity=60}
||      || 2005 || 2006 || 2007 ||
| Revenue | 41.1 | 31.8 | 12.4 |
| Expense | 31.1 | 41.8 | 43.6 |
{chart}
表示結果

XY Area チャート

必要な入力項目
{chart:type=xyarea}
||      || 12 || 14 || 23 ||
| Revenue | 41.1 | 31.8 | 12.4 |
| Expense | 31.1 | 41.8 | 43.6 |
{chart}
表示結果

Area チャート

必要な入力項目
{chart:type=area|dataDisplay=true|legend=true|width=300|height=300|opacity=50}
|| Satisfaction   || 2002 || 2003 || 2004 ||
| Very satisfied   | 20    |   23 |   34  |
| Satisfied        | 40    |   34 |   23  |
| Disatisfied      | 25    |   26 |   25  |
| Very disatisfied | 15    |   17 |   18  |
{chart}
表示結果
必要な入力項目
{chart:type=area|dataDisplay=true|legend=true|width=300|height=300|stacked=true}
|| Satisfaction   || 2002 || 2003 || 2004 ||
| Very satisfied   | 12    |   23 |   31  |
| Satisfied        | 1    |   34 |   36  |
| Disatisfied      | 4    |   6 |   22  |
| Very disatisfied | 2    |   7 |   12  |
{chart}
表示結果
関連トピック

Flowchart Macro
Working with Macros

Take me back to Confluence User Guide

  • ラベルなし