Creating a chart from Excel

Introduction

Since the Chart.js for Confluence app reads the information from tables, it is fairly simple to use an Excel table and copy it over to Confluence into a chart macro. Here is an example for a Bar Chart.

1. Prepare the table in Excel

2. Select and copy the table

3. Edit your Confluence page and insert a Chart.js Bar Chart macro

4. Paste the Excel table from the clipboard into the macro body

5. Insert a 2nd and a 3rd column

The macro expects these two columns. They allow you to specify the type and color of the data series in each row.

6. Publish your page

At this point you can already publish your page. Even though you haven’t specified type and color. The macro will use defaults and random colors.

7. Edit your page again and fine tune your chart

You can go back to your macro and specify more details.

8. Final result after publish

Last updated