dj-chartjs
Documentation
The full documentation is at https://django-charts.readthedocs.io/en/latest/
Quickstart
Install dj-chartjs:
pip install dj-chartjs
Add it to your INSTALLED_APPS:
INSTALLED_APPS = (
...
'dj_chartjs',
...
)
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
History
0.1.0 (2020-03-30)
First release on PyPI.
Release files for dj-chartjs 1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dj-chartjs-1.0.7.tar.gz | 83.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dj_chartjs-1.0.7-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 168.5 kB
Release files / dj-chartjs-1.0.7.tar.gz
| Download URL | dj-chartjs-1.0.7.tar.gz |
|---|---|
| Size | 83.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
37d0c3c36990eb9edf7d14372e594862c2116614c1ac141673003f06782f4cfe
|
|
BLAKE2b-256 checksum How to use checksums |
0347151fda7568ab4a3d63550784925ad7ceb5b3877e8ed71f88c9f8e21f2264
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5
|
Release files / dj_chartjs-1.0.7-py2.py3-none-any.whl
| Download URL | dj_chartjs-1.0.7-py2.py3-none-any.whl |
|---|---|
| Size | 85.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
89ec9f8731c30d3fdcf4de97e79498769c4a91f24325f9bee739c62dfc9d6b15
|
|
BLAKE2b-256 checksum How to use checksums |
ff991c574b6f4b79762d88789d2c101ce91d70ba5cd2c94138f29450cef546a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5
|