On Thu, 05 May 2011 13:14:57 +0530, Kenneth Gonsalves wrote:
On Thu, 2011-05-05 at 00:28 -0700, Nge wrote:
I want to know. How can I create line charts in Django?
Then I have to take data from postgresql for x-axis and y-axis.
So how should I do? How can apply django, postgres, graph and ajax?

create a view - extract the data you want and send it to the template
where you use js/ajax to display the graph

http://code.google.com/p/flot works nicely for the js/ajax part.

/Lars

--
regards
KG
http://lawgon.livejournal.com
Coimbatore LUG rox
http://ilugcbe.techstud.org/


--
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to