pyOFC2 Python Open Flash Chart 2

Line

Simple Line Graph

def test_line():      
    
    t = title(text=time.strftime('%a %Y %b %d'))
    l = line()
    l.values = [9,8,7,6,5,4,3,2,1]
    chart = open_flash_chart()
    chart.title = t
    chart.add_element(l)
    return chart

Data used to generate the chart — line.json

© 2009 Pradeep Kishore Gowda