Re: Python Graph

2010-01-28 Thread Daniel Hilton
On 27 January 2010 17:56, Bhaskar Gara wrote: > I am really stupid. After cut & Paste I need to double check what i > pasted. > > Thank you very much Dan and sorry for wasting your time. > > Lesson learned. I usually find all my mistakes are stupid ones. I actually find a little comfort in this!

Re: Python Graph

2010-01-27 Thread Bhaskar Gara
I am really stupid. After cut & Paste I need to double check what i pasted. Thank you very much Dan and sorry for wasting your time. Lesson learned. On Jan 27, 11:16 am, Daniel Hilton wrote: > 2010/1/27 Bhaskar Gara : > > > > > > > No luck. > > > url.py > > url(r'^member/score/compare/$', direc

Re: Python Graph

2010-01-27 Thread Daniel Hilton
2010/1/27 Bhaskar Gara : > No luck. > > url.py > url(r'^member/score/compare/$', direct_to_template, >            {'template': 'member_score_compare.html'}, > name='member_score_compare'), > > > view.py > def prev_score(request): >    template_name = 'member_score_compare.html' >    graph = graphs.

Re: Python Graph

2010-01-27 Thread Bhaskar Gara
No luck. url.py url(r'^member/score/compare/$', direct_to_template, {'template': 'member_score_compare.html'}, name='member_score_compare'), view.py def prev_score(request): template_name = 'member_score_compare.html' graph = graphs.BarGraph('vBar') graph.values = [380, 1

Re: Python Graph

2010-01-27 Thread Bhaskar Gara
Thank you Dan On Jan 27, 3:40 am, Daniel Hilton wrote: > 2010/1/27 Bhaskar Gara : > > > > > > > Hi, > > >    I am very new to django.  I am trying to use this library for my > > graphs > >http://www.gerd-tentler.de/tools/pygraphs/?page=introduction > > > In my Views.py > > > prev_score(request):

Re: Python Graph

2010-01-27 Thread Daniel Hilton
2010/1/27 Bhaskar Gara : > Hi, > >    I am very new to django.  I am trying to use this library for my > graphs > http://www.gerd-tentler.de/tools/pygraphs/?page=introduction > > > In my Views.py > > prev_score(request): >        graph = graphs.BarGraph('vBar') >        graph.values = [380, 150, 26

Python Graph

2010-01-26 Thread Bhaskar Gara
Hi, I am very new to django. I am trying to use this library for my graphs http://www.gerd-tentler.de/tools/pygraphs/?page=introduction In my Views.py prev_score(request): graph = graphs.BarGraph('vBar') graph.values = [380, 150, 260, 310, 430] print graph.create()