Django Chart.js wrapper
Project description
# django_chart_js Django Chart.js is django application that allows use Chart.js lib in django templates easy.
# Usage In settings.py:
Add django_chart_js in your INSTALLED_APPS
In your view:
data = [x**2 for x in range(30)]
return render(request, ‘some_template.html’, {‘data’: data})
In your template:
{% load chart_js_tags %}
{% chartjs 500x300 data line %}
# Installation Download ZIP
cd django_chart_js
python setup.py install
# Requirements * django >= 1.6
# Licence Licenced under a [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0.txt)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
django_chart_js-0.0.2.zip
(5.7 kB
view hashes)
Close
Hashes for django_chart_js-0.0.2.win-amd64.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57f097966f8d8ea49084eb5238abd8699a682f36ec496d6229ec4a5869998102 |
|
MD5 | eae4e96aeed996b0320ae13a93fa7ade |
|
BLAKE2b-256 | b642d19443afe94d681e72ef50441944b8195c4c0a976ef23e6f112372e2829c |