Hello, how ive been making some charts, and such using jChart and it looks great, how ever now i need to make some grouped bars... Ive got a few games where i need a bar for each users procentage correct answers
Heres my json
[ { "1": { "user": [ { "name": "Morten 123", "procent": 40 }, { "name": "Spiller 13", "procent": 40 } ], "game": "1" }, "2": { "user": [ { "name": "Morten 123", "procent": 40 }, { "name": "Spiller 13", "procent": 40 } ], "game": "2" }, "3": { "user": [ { "name": "Spiller 13", "procent": 40 }, { "name": "Morten 123", "procent": 40 } ], "game": "3" } }
]
Thats by the var data = [{"Game":"Game1", "John":50, "Mark":60}, {"Game":"Game2", "John":20, "Mark":10}]; How ever id like 4 bars here, here they are grouped by game... So a label called game 1, with 2 bars 1 for mark and one for john. and the same for game 2.