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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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