@add_source_code_and_doc
def combination_line_pie(request, title, code, doc, sidebar_items):
    
    #start_code
    ds = DataPool(
           series=
            [{'options': {
                'source': MonthlyWeatherByCity.objects.all()},
              'terms': [
                'month', 
                'boston_temp',
                'houston_temp']}
             ])
    
    def monthname(month_num):
        names ={1: 'Jan', 2: 'Feb', 3: 'Mar', 4: 'Apr', 5: 'May', 6: 'Jun',
                7: 'Jul', 8: 'Aug', 9: 'Sep', 10: 'Oct', 11: 'Nov', 12: 'Dec'}
        return names[month_num]
    
    cht = Chart(
            datasource = ds, 
            series_options = 
              [{'options':{
                  'type': 'line'},
                'terms':{
                  'month': [
                    'boston_temp']
                  }},
               {'options':{
                  'type': 'pie',
                  'center': [150, 100],
                  'size': '50%'},
                'terms':{
                  'month': [
                    'houston_temp']
                  }}],
            chart_options = 
              {'title': {
                   'text': 'Weather Data of Boston (line) and Houston (pie)'}},
            x_sortf_mapf_mts = [(None, monthname, False),
                                (None, monthname, False)])
    #end_code
    return render_to_response('chart_code.html', {'chart_list': cht,
                                             'code': code,
                                             'title': title,
                                             'doc': doc,
                                             'sidebar_items': sidebar_items})
Decode the variable length encoded camera info section.
dataset/ETHPy150Open pgollakota/django-chartit/demoproject/chartdemo/views.py/combination_line_pie--crossover with--dataset/ETHPy150Open ianare/exif-py/exifread/classes.py/ExifHeader._canon_decode_camera_info