Metadata-Version: 2.1
Name: django-charts-dashboard
Version: 0.1
Summary: A Django app for build charts with chartjs library.
Home-page: https://www.example.com/
Author: Ramon Rodrigues
Author-email: ramon.srodrigues01@gmail.com
License: BSD-3-Clause
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 3.1
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content

=============================
django-charts-dashboard
=============================

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`:

.. code-block:: python

    INSTALLED_APPS = (
        ...
        'charts_dashboard',
        ...
    )

**PS: You need define jquery and chartjs libraries in your html section script**

.. code-block:: html

    <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




