Metadata-Version: 1.1
Name: django-nvd3
Version: 0.0.1
Summary: django application to display graph with NVD3
Home-page: http://github.com/areski/django-nvd3
Author: Belaid Arezqui
Author-email: areski@gmail.com
License: MIT License
Description: Django wrapper for nvd3  - It's time for beautiful charts
        =========================================================
        
        :Description: Django-nvd3 is a wrapper for NVD3 graph library
        :nvd3: NVD3 http://nvd3.org/
        :d3: Data-Driven Documents http://d3js.org/
        
        
        NVD3 is an attempt to build re-usable charts and chart components
        for d3.js without taking away the power that d3.js gives you.
        
        
        .. image:: https://www.travis-ci.org/areski/django-nvd3.png?branch=master
        
        |endorse|
        
        .. |endorse| image:: https://api.coderwall.com/areski/endorsecount.png
           :target: https://coderwall.com/areski
        
        
        Installation
        ------------
        
        Install, upgrade and uninstall django-nvd3.py with these commands::
        
            $ sudo pip install django-nvd3
            $ sudo pip install --upgrade django-nvd3
            $ sudo pip uninstall django-nvd3
        
        
        Dependencies
        ------------
        
        Django-nvd3 have one major dependencie:
        
        * python-nvd3 : https://github.com/areski/python-nvd3
        
        
        How to Create Charts
        ---------------------
        
        Here is a short example of how to create a lineWithFocusChart. Let’s say we have a simple model with the following fields:
        
        
        TODO: ...[show some code for model]
        
        
        TODO: ...[show some view code]
        
        
        And you can use the ``nvd3_tags`` filter in the django template to render the chart. ::
        
        ::
        
            {% load nvd3_tags %}
            <head>
                <!-- code to include the NVD3 and D3 libraries goes here -->
                <!-- load_nvd3 filter takes a comma-separated list of id's where -->
                <!-- the charts need to be rendered to                             -->
                {% include_nvd3jscss %}
                {% load_chart "lineWithFocusChart" chartdata "lineWithFocusChart_container" "500" "800" %}
            </head>
            <body>
                <div id="lineWithFocusChart_container"><svg style="height:500px;width:800px;"></svg></div>
            </body>
        
        ...[show template code]
        
        
        See the sample_project for an example of django-nvd3 usage.
        
        
        Demo
        ----
        
        See a live demo on jsfiddle : http://jsfiddle.net/4KuSx/
        
        
        Supported nvd3 charts
        ---------------------
        
        Charts list:
        
        .. image:: https://raw.github.com/areski/django-nvd3/master/docs/source/_static/screenshot/lineWithFocusChart.png
        
        .. image:: https://raw.github.com/areski/django-nvd3/master/docs/source/_static/screenshot/lineChart.png
        
        .. image:: https://raw.github.com/areski/django-nvd3/master/docs/source/_static/screenshot/multiBarChart.png
        
        .. image:: https://raw.github.com/areski/django-nvd3/master/docs/source/_static/screenshot/pieChart.png
        
        .. image:: https://raw.github.com/areski/django-nvd3/master/docs/source/_static/screenshot/stackedAreaChart.png
        
        .. image:: https://raw.github.com/areski/django-nvd3/master/docs/source/_static/screenshot/multiBarHorizontalChart.png
        
        .. image:: https://raw.github.com/areski/django-nvd3/master/docs/source/_static/screenshot/linePlusBarChart.png
        
        .. image:: https://raw.github.com/areski/django-nvd3/master/docs/source/_static/screenshot/cumulativeLineChart.png
        
        .. image:: https://raw.github.com/areski/django-nvd3/master/docs/source/_static/screenshot/discreteBarChart.png
        
        .. image:: https://raw.github.com/areski/django-nvd3/master/docs/source/_static/screenshot/scatterChart.png
        
        
        Projects using Django-nvd3
        --------------------------
        
        * CDR-Stats : www.cdr-stats.org
        * Newfies-Dialer : www.newfies-dialer.org
        
        
        Documentation
        -------------
        
        Documentation is available on 'Read the Docs':
        http://django-nvd3.readthedocs.org
        
        
        License
        -------
        
        Django-nvd3 is licensed under MIT, see `MIT-LICENSE.txt`.
        
Keywords: django,nvd3,chart,graph,d3
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
