Two Key Points in Using Django-Chartit
Contents
Django-Chartit looks like a good tool for drawing some data charts under Python Django framework.
But it is a little hard to get it ready for work. Here I remind of two key steps while using Chartit:
-
add chartit to your INSTALLED_APPS.
-
install simplejason if you get ‘use_decimal’ error.
The error message is something like:
TypeError at /charts/ __init__() got an unexpected keyword argument ‘use_decimal’
I don’t think Chartit is the best choice current now, and I prefer Chart.js instead if you just want to draw some basic charts.
Author Watterry
LastMod 2014-04-01