- Author:
- justquick
- Posted:
- April 26, 2008
- Language:
- HTML/template
- Version:
- Not specified
- Score:
- 4 (after 4 ratings)
Example usage of the GChartWrapper.charts module for creating dynamic charts with templatetags. It is an easy method of creating dynamic GoogleCharts from the GoogleChartAPI. The project is located at google-chartwrapper. To get the most recent version:
svn checkout http://google-chartwrapper.googlecode.com/svn/trunk/
and run python setup.py
in the downloaded trunk directory. There is an included django project there with the ChartsExamples all worked out in django templates
1 2 3 4 5 6 7 8 9 10 11 | {% load charts %}
{% chart lc 4.0 93.0 42.0 48.8 70.0 99.0 encoding=text %}
{% scale 4 100 %}
{% axes type xy %}
{% axes label 0 Mar Apr May June July %}
{% axes label 1 None 50+K %}
{% color ff0000 %}
{% line 6 5 2 %}
{% img alt=DataScaling height=400 id=img title=DataSaling %}
{% size 400 200 %}
{% endchart %}
|
More like this
- Bootstrap Accordian by Netplay4 5 years, 11 months ago
- Bootstrap theme for django-endless-pagination? by se210 8 years, 11 months ago
- Bootstrap theme for django-endless-pagination? by se210 8 years, 11 months ago
- Reusable form template with generic view by roldandvg 9 years ago
- Pagination Django with Boostrap by guilegarcia 9 years, 2 months ago
Comments
Please login first before commenting.