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.

Source Distributions

django_chart_js-0.0.3.zip (6.4 kB view hashes)

Uploaded Source

django_chart_js-0.0.3.win-amd64.zip (8.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page