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.

Files for django-charts-dashboard, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size django_charts_dashboard-0.1-py3-none-any.whl (9.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size django-charts-dashboard-0.1.tar.gz (13.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page