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.

Filename, size & hash SHA256 hash help File type Python version Upload date
django_chart_js-0.0.3.win-amd64.zip (8.4 kB) Copy SHA256 hash SHA256 Source None
django_chart_js-0.0.3.zip (6.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page