Monday, September 6, 2010

Translating Google Chart API parameters to Django

Is there a table that translates the Google Chart API parameters to
Django tags?

The parameters for creating a chart using the Google Charts API look
like this:
cht=bvg
chs=250x150
chd=s:Monkeys
chxt=x,y
chxs=0,ff0000,12,0,lt
1,0000ff,10,1,lt

Whereas the Django parameters look like this:
{% chart Line fohmnytenefohmnytene encoding=simple %}
{% size 200 100 %}
{% axes type xy %}
{% axes label April May June %}
{% axes label None 50+Kb %}
{% endchart %}

How could I recreate the first example in Django?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate