Metadata-Version: 1.0
Name: js.chart
Version: 0.2.0
Summary: fanstatic chart.js integration
Home-page: https://github.com/RedTurtle/js.chart
Author: RedTurtle Developers
Author-email: sviluppoplone@redturtle.it
License: BSD
Description: js.chart
        ************
        
        .. image:: https://travis-ci.org/RedTurtle/js.chart.png?branch=master
        
        Introduction
        ============
        
        This library packages `chartjs`_ for `fanstatic`_. It is aware of different modes (normal, minified).
        
        .. _`fanstatic`: http://fanstatic.org
        .. _`chartjs`: http://www.chartjs.org/
        
        This requires integration between your web framework and ``fanstatic``,
        and making sure that the original resources (shipped in the ``resources``
        directory in ``js.chart``) are published to some URL.
        
        
        Contact
        =======
        
        .. image:: http://www.redturtle.it/redturtle_banner.png
        
        * | Andrew Mleczko <``andrew.mleczko at redturtle.net``>
          | **RedTurtle Technology**, http://www.redturtle.net/
        
        How to use?
        ===========
        
        This should be setup before rendering a page. See `fanstatic`_ for more
        information::
        
          >>> from fanstatic import init_needed
          >>> needed = init_needed(base_url='http://localhost')
        
        You can import chart from ``js.chart`` and ``.need`` it
        where you want these resources to be included on a page::
        
          >>> from js.chart import chart_js
          >>> chart_js.need()
        
        Render the inclusion::
        
          >>> print needed.render()
          <script type="text/javascript" src="http://localhost/fanstatic/chart/Chart.js"></script>
        
        CHANGES
        *******
        
        0.2.0 (2014-02-04)
        ==================
        
        - Nothing changed yet.
        
Keywords: chartjs redturtle
Platform: UNKNOWN
