chart.js wordpress plugin

There are six charts in total – documentation here.

It’s a little frustrating that not all of the charts support labels. Particularly the doughnut chart. Which looks pretty cool. Reading up on stackflow, the general consensus is that you’re supposed to add this yourself in the canvas using javascript. I guess it’s free, so you can’t ask for the world.

The bbc football pages use highcharts – which look good but are expensive for commercial use.

Another option is to use SVG – this way you can make the charts interactive as they’re DOM elements, which you can’t do with chart.js. 




Pie chart

Bar chart

Line chart

Print Friendly

Leave a Reply

Your email address will not be published. Required fields are marked *