Changes between Version 12 and Version 13 of Charts


Ignore:
Timestamp:
Jun 8, 2012, 2:54:35 AM (12 years ago)
Author:
shrutika.m.15@…
Comment:

import HttpResponse, mycharts

Legend:

Unmodified
Added
Removed
Modified
  • Charts

    v12 v13  
    204204
    205205{{{
    206 
     206from django.http import HttpResponse
    207207def linechart(request):
    208208
    209209    #instantiate a drawing object
    210     d = MyLineChartDrawing()
     210    import mycharts
     211    d = mycharts.MyLineChartDrawing()
    211212
    212213    #extract the request params of interest.
     
    221222    d.chart.width = 300
    222223   
    223     d.title.text = request.session.get('Some custom title')
     224    d.title._text = request.session.get('Some custom title')
    224225   
    225226
Back to Top