A Django app for build charts with chartjs library.
Project description
Documentation
The full documentation is at https://django-charts-dashboard.readthedocs.io/en/latest/
Quickstart
Install django-charts-dashboard:
pip install django-charts-dashboard or pipenv install django-charts-dashboard
Add it to your INSTALLED_APPS:
INSTALLED_APPS = (
...
'charts_dashboard',
...
)
PS: You need define jquery and chartjs libraries in your html section script
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.bundle.js"></script>
Running Tests
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install tox (myenv) $ tox
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 Distribution
Built Distribution
Close
Hashes for django-charts-dashboard-0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4733035dedb29951789999429cef3020a0ae245cf6985ad43a85ef337bc9710 |
|
MD5 | 19813cc03962fee47b9997ea8b18a6b5 |
|
BLAKE2b-256 | 90572312a730213d99d5913ab8afa8547cb033874dc1239bda0e2527c5984350 |
Close
Hashes for django_charts_dashboard-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 896edf931dbddf6a0074854e79673309e5faa921f2fc3c32e944e35892254cb6 |
|
MD5 | aeacc6f6a38d2fd8691005c41a028e30 |
|
BLAKE2b-256 | c324251af7a822b2e06edf9673aa021edb586cce0ff4243bc746a71ff0defaa1 |