[Answer]-Django Chartkick library option issues

1👍

The underlying problem was that I was using the Google Charts API not the Highcharts API. Thanks to Mher Movsisyan the owner of Django Chartkick for a quick answer on Github.

This is his answer for the benefit of other stackoverflow users:

The configuration formats for Google Charts and HighCharts are
different. You are trying to apply the Google Charts api to
HighCharts.

In this particular example you need to use:

{% pie_chart browser_stats with library={"title":{"text":"Browser Statistics, May 2013"}} %} 

See Highcharts API http://www.highcharts.com/docs/chart-concepts/title-and-subtitle

For a fuller discussion see https://github.com/mher/chartkick.py/issues/13

Leave a comment