django-chartit 0.1

Can be used to plot the data from various models in your Django project

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
BSD License 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Praveen Gollakota
HOMEPAGE:
github.com
CATEGORY:
ROOT \ Internet \ HTTP (WWW)
django-chartit is a Django app that can be used to plot the data from various models in your Django project directly onto the web pages. The charts are rendered using the ``Highcharts`` and ``jQuery`` JavaScript libraries. Data in your database can be plotted as simple line charts, column charts, area charts, scatter plots, and many more chart types. Data can also be plotted as Pivot Charts where the data is grouped and/or pivoted by specific column(s).

Installation

You can install Django-Chartit from PyPI. Just do:

 pip install django_chartit

You also need supporting JavaScript libraries.

How to Use

Plotting a chart or pivot chart on a webpage involves the following steps.

1. Create a ``DataPool`` or ``PivotDataPool`` object that specifies what data you need to retrieve and from where.
2. Create a ``Chart`` or ``PivotChart`` object to plot the data in the ``DataPool`` or ``PivotDataPool`` respectively.
3. Return the ``Chart``/``PivotChart`` object from a django ``view`` function to the django template.
4. Use the ``load_charts`` template tag to load the charts to HTML tags with specific `ids`.

It is easier to explain the steps above with examples. So read on.

Last updated on November 8th, 2011

feature list requirements

#Django plotter #data plotting #Django #plotter #plotting #charts

Add your review!

SUBMIT