Chart.js for Confluence
  • Introduction
  • Administrator Guide
    • Sample Page Code
    • Data Center Compatibility
  • Chart Types
    • Bar Chart
    • Bubble Chart
    • Doughnut Chart
    • Line Chart
    • Pie Chart
    • Polar Area Chart
    • Radar Chart
  • Troubleshooting
  • Creating a chart from Excel
  • Credits
Powered by GitBook
On this page

Was this helpful?

Creating a chart from Excel

PreviousTroubleshootingNextCredits

Last updated 2 years ago

Was this helpful?

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