pyOFC2 Python Open Flash Chart 2

Bar Filled Chart

Set the outline colour

def test_bar_filled():
                                                                                     
    t = title(text=time.strftime('%a %Y %b %d'))
    b1 = bar_filled(colour='#E2D66A')
    b1.values = range(9,0,-1)
    b1.outline_colour = '#577261'
    chart = open_flash_chart(bg_colour="#FFFFFF")
    chart.title = t    
    chart.add_element(b1)
    return chart

Data used to generate the chart — bar_filled.json

© 2009 Pradeep Kishore Gowda