Re: bar charts

2011-11-08 Thread Venkatraman S
I have documented a set of viz libraries: http://blizzardzblogs.blogspot.com/2010/12/data-visualization-charts-and.html -V- -- 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 u

Re: bar charts

2011-11-08 Thread kenneth gonsalves
On Tue, 2011-11-08 at 21:16 +1100, Mario Gudelj wrote: > I'm a Django/Python beginner, but the above works for me and it plots > the number of items per month, where the Y-axis is the number of items > and X-axis is the month names. I found it faster and more efficient to generate the DataTable us

Re: bar charts

2011-11-08 Thread Mario Gudelj
Hey, I implemented a line chart and this is my code: View: def render_chart(request): months = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'] month_values = [0,0,0,0,0,0,0,0,0,0,0,0] list_of_items = MyModel.objects.all() for item in list_of_items:

Re: bar charts

2011-11-07 Thread skysb...@gmail.com
On 2011?11?07? 21:26, Andre Terra wrote: Pass serialized json as a template variable? yes of course, pupulate data from django is not special, it's a normal process just like other language. we can output json to the chart That's what I'm doing atm. But JKM has built an app to help reduce the

Re: bar charts

2011-11-07 Thread kenneth gonsalves
On Mon, 2011-11-07 at 11:26 -0200, Andre Terra wrote: > Pass serialized json as a template variable? > > got it to work. I had passed the json, but had to turn autoescape off to get it to work. -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google

Re: bar charts

2011-11-07 Thread bax...@gretschpages.com
Most times I just use css and percentwidth for simple bar charts. On Nov 7, 10:23 am, Leotis buchanan wrote: > You could also try processing.js > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, s

Re: bar charts

2011-11-07 Thread Leotis buchanan
You could also try processing.js Regards Leotis Buchanan Co-Founder Exterbox On Mon, Nov 7, 2011 at 9:22 AM, Yok Keen Hui wrote: > You could try out cairoplot, it works for me in Django, just have to print > the render as a picture to a url and reference it from there(looks nice > too!) > >

Re: bar charts

2011-11-07 Thread Brad Montgomery
+1 for Google Charts. For small stuff (1 chart), I just render JavaScript in the of my html templates. For more complex stuff, you could write a view that *just* renders JavaScript and include it via a script tag. Just make sure to serve it with MIME type "application/javascript" Here's mor

Re: bar charts

2011-11-07 Thread Yok Keen Hui
You could try out cairoplot, it works for me in Django, just have to print the render as a picture to a url and reference it from there(looks nice too!) On Tue, Nov 8, 2011 at 12:26 AM, Andre Terra wrote: > Pass serialized json as a template variable? > > That's what I'm doing atm. But JKM has b

Re: bar charts

2011-11-07 Thread Andre Terra
Pass serialized json as a template variable? That's what I'm doing atm. But JKM has built an app to help reduce the need to write javascript [1]. I haven't used it myself, but it looks interesting and promising. Cheers, AT [1] https://github.com/jacobian/django-googlecharts On Mon, Nov 7, 201

Re: bar charts

2011-11-07 Thread Tim Sawyer
Flot. http://code.google.com/p/flot/ My docs about what I did: http://drumcoder.co.uk/tags/flot/ Example (including zooming by slider): http://brassbandresults.co.uk/bands/rothwell-temperance-band/ Enjoy, Tim. > hi, > > what do people use to display bar charts in their sites? >

Re: bar charts

2011-11-07 Thread kenneth gonsalves
On Mon, 2011-11-07 at 19:36 +0800, skysb...@gmail.com wrote: > On 2011年11月07日 18:16, kenneth gonsalves wrote: > > On Mon, 2011-11-07 at 04:28 -0500, Joey Espinosa wrote: > >> Here's the Quick Start page: http://goo.gl/g5I7X > > that is easy - how does one populate with data from django? > do you kn

Re: bar charts

2011-11-07 Thread skysb...@gmail.com
On 2011年11月07日 18:16, kenneth gonsalves wrote: On Mon, 2011-11-07 at 04:28 -0500, Joey Espinosa wrote: Here's the Quick Start page: http://goo.gl/g5I7X that is easy - how does one populate with data from django? do you know how to populate with data with other develop language?? -- You receiv

Re: bar charts

2011-11-07 Thread kenneth gonsalves
On Mon, 2011-11-07 at 04:28 -0500, Joey Espinosa wrote: > Here's the Quick Start page: http://goo.gl/g5I7X that is easy - how does one populate with data from django? -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group.

Re: bar charts

2011-11-07 Thread Joey Espinosa
Kenneth, It's a Google API. Like other Google tools, you can connect using google.load() within JavaScript code. It wouldn't integrate directly with Django, but rather through your templates by using JavaScript. -- Joey "JoeLinux" Espinosa* *

Re: bar charts

2011-11-07 Thread skysb...@gmail.com
On 2011年11月07日 12:57, kenneth gonsalves wrote: hi, what do people use to display bar charts in their sites? a lot choices, like html5 chart, flash chart. amchart,zingchart, i'm trying to use zingchart in my site now, it provide both flash and html5 solution. -- You received this me

Re: bar charts

2011-11-06 Thread kenneth gonsalves
On Mon, 2011-11-07 at 00:04 -0500, Kevin Anthony wrote: > Google charts api > > any clues on how to integrate this with django? -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: bar charts

2011-11-06 Thread Kevin Anthony
Google charts api Kevin Please excuse brevity, sent from phone On Nov 6, 2011 11:57 PM, "kenneth gonsalves" wrote: > hi, > > what do people use to display bar charts in their sites? > -- > regards > Kenneth Gonsalves > > -- > regards > Kenneth Gons

bar charts

2011-11-06 Thread kenneth gonsalves
hi, what do people use to display bar charts in their sites? -- regards Kenneth Gonsalves -- regards Kenneth Gonsalves -- 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@googlegrou