Bar chart in Javascript: stacked bars + grouped bars -
i'm looking javascript solution mix grouped , stacked bars beautiful graph, such provided protovis.
for example if want compare downloads on apple (ipads+iphones) devices android devices, might have (excuse terrible ascii art)
60k | ^ 50k | # ^ ^ 40k |# # ^ #^ 30k |@ #^ ^ #^ 20k |@^ #^ #^ @^ 10k |@^ @^ @^ @^ ================= jan feb mar apr legend #: ipad downloads @: iphone downloads ^: android downloads
checkout google chart tools , google visualization
for instance can specify following:
cht=bvs chco=4d89f9,c6d9fd chd=t:10,50,60,80,40| 50,60,100,40,20 chds=0,160
let's if change chd to
cht=bvs chs=250x150 chco=4d89f9,c6d9fd chd=t:0,50,0,80,0, 10, 50, 40 60,0,100,0,20, 50, 100, 60 chds=0,160
take @ chart above (as if group chart, stacked). can append data after create stacked 'looking' group graph intended.
Comments
Post a Comment