Skip to main content

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django_chart_js, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size django_chart_js-0.0.3.win-amd64.zip (8.4 kB) File type Source Python version None Upload date Hashes View
Filename, size django_chart_js-0.0.3.zip (6.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page