简体   繁体   中英

Dynamic Google Column Chart

I want to create a google column chart dynamically. My database query result is [{"month":"May-2013","total_sales":"1369250"},{"month":"June-2013","total_sales":"4328119"},{"month":"July-2013","total_sales":"4636663"},{"month":"August-2013","total_sales":"4754047"},{"month":"September-2013","total_sales":"5014683"}]

I want to show these json data as google column chart.Plese help me..Thank you in advance

[
    ['Month','Sales'],
    ['May-2013','1369250'],
    ['August-2013','4754047']
]

Your data needs to be in a similar format, please refer to this .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM