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=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}
|
|
{chart:type=xyline}
|| || 12 || 14 || 23 ||
| Revenue | 41.1 | 31.8 | 12.4 |
| Expense | 31.1 | 41.8 | 43.6 |
{chart}
|
|
{chart:type=xybar|opacity=60}
|| || 2005 || 2006 || 2007 ||
| Revenue | 41.1 | 31.8 | 12.4 |
| Expense | 31.1 | 41.8 | 43.6 |
{chart}
|
|
{chart:type=xyarea}
|| || 12 || 14 || 23 ||
| Revenue | 41.1 | 31.8 | 12.4 |
| Expense | 31.1 | 41.8 | 43.6 |
{chart}
|
|
{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