Skip to main content

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

This version

0.1

Download files

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

Source Distribution

django-charts-dashboard-0.1.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_charts_dashboard-0.1-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file django-charts-dashboard-0.1.tar.gz.

File metadata

  • Download URL: django-charts-dashboard-0.1.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for django-charts-dashboard-0.1.tar.gz
Algorithm Hash digest
SHA256 c4733035dedb29951789999429cef3020a0ae245cf6985ad43a85ef337bc9710
MD5 19813cc03962fee47b9997ea8b18a6b5
BLAKE2b-256 90572312a730213d99d5913ab8afa8547cb033874dc1239bda0e2527c5984350

See more details on using hashes here.

File details

Details for the file django_charts_dashboard-0.1-py3-none-any.whl.

File metadata

  • Download URL: django_charts_dashboard-0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for django_charts_dashboard-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 896edf931dbddf6a0074854e79673309e5faa921f2fc3c32e944e35892254cb6
MD5 aeacc6f6a38d2fd8691005c41a028e30
BLAKE2b-256 c324251af7a822b2e06edf9673aa021edb586cce0ff4243bc746a71ff0defaa1

See more details on using hashes here.

Supported by

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