Jump to content
JChartFX Community

zeebaah

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About zeebaah

  • Rank
    Newbie
  1. my json looks like this [ { "1": { "user": [ { "name": "Morten 123", "procent": 40 }, { "name": "Spiller 13", "procent": 40 } ], "game": "1" }, "2": { "user": [ { "name": "Morten 123", "procent": 40 }, { "name": "Spiller 13", "p
  2. 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": [
  3. Hello, I'm trying to make a chart where i got the ability to change datasource, so the charts look 1, 7 or 30 days back etc.... If i get the data from php using chart1.setDataSource(<?php echo json_encode($chartArray);?> then it works perfektly, how ever id like to make it getting the data from another file giving me the option to change datasets bit easier, and then using $.ajax({ type: "GET", url: "test.php", data: {'getmessage': 'getmessage'}, dataType: "json", success: function(data) { chart1.setDataSource(data); } }); How ever thats not working. my test.php giv
×
×
  • Create New...