This tutorial uses Reporting, another great Confluence add-on by ServiceRocket.
Let's create a simple table populated with data and then generate simple charts out of that data.
- Let's start by creating a dynamic table which allows a user to enter data.
Create a Table Data macro with the name "tableLog".
Inside that Table Data macro, create a table with two columns and two rows, like this:
Assignee Time Logged
For the Text Data macro, set the Field Name parameter to "developer", type to "line", and Content Type to "wiki".
For the Number Data macro, set the Field Name parameter to "hours" and tick Allow decimal values.
You should now have something that looks like this:
Now for the fun part! Let's create a pie chart with numbers provided by the dynamic table we created above.
Create a Chart macro.
Set the Data Orientation parameter to "vertical".
- You should now have something that looks like this:
- Now, click Edit Contents and fill in some data to see the results!
Try playing around with the Chart macro parameters to change the pie chart into a bar chart or a time series chart.