This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!
Project Description

js.chart

Introduction

This library packages chartjs for fanstatic. It is aware of different modes (normal, minified).

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

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.
Release History

Release History

0.2.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
js.chart-0.2.0.zip (19.9 kB) Copy SHA256 Checksum SHA256 Source Feb 4, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting