Part 3 - Displaying content and generating charts in a dashboard
Overview
For this section, we'll complete the dashboard by displaying content from the project reports and also generate some useful charts with data from the project reports.
By the end of this section you should have something that looks like below.
Source code
The following source code is shared using Confluence Storage Format - the XHTML-based format that Confluence uses to store the content of pages, page templates, blueprints, blog posts and comments.
For more information on how to use this source code on your Confluence, read the following article - How do I use Recipes that use the Storage Format with the Confluence Source Editor?
Steps
On the draft page
add a Page Properties Report macro
set Label parameter to "show".
add text "Show Charts" and a Toggle Cloak macro
add a Cloak macro
Within the Cloak macro
add a Section macro
Within the Section macro
add five Column macros
edit the Column macros and set the Width parameters for all five columns to "5%", "25%", "25%", "25%", and "5%" respectively
In column two
create a Chart macro
set its type, Charttitle and columns parameters to "bar", "Cost" and "Title, Cost" respectively
In the Chart macro
add an additional Page Properties Report macro
set Label parameter to "show"
In column three
create a Chart macro
set its type, Chart title and columns parameters to "bar", "Due Date" and "Title, Remaining Time" respectively
Within the Chart macro
add an additional Page Properties Report macro
set its Label parameter to "show"
In column three
create a Chart macro
set its type, Chart title and columns parameters to "bar", "Team Size" and "Title, Team Size" respectively
Within the Chart macro
add an additional Page Properties Report macro
set its Label parameter to "show"
Macro structure