pyOFC2 Python Open Flash Chart 2

Glass Bar Chart

Make a glass bar chart.

def test_bar_glass():
                                                                                     
    t = title(text=time.strftime('%a %Y %b %d'))
    b = bar_glass()
    b.values = range(9,0,-1)
    chart = open_flash_chart()
    chart.title = t
    chart.add_element(b)
    return chart

Data used to generate the chart — bar_glass.json

© 2009 Pradeep Kishore Gowda