score:2

Accepted answer

on your plotbands section of code you have a dangling comma:

plotbands: [{
                from: 0,
                to: " . $junior_sum .",
                color: '#009ff5' // dark blue
            }, {

                from: " . $junior_sum . ",
                to: 25,
                color: '#92cff0' // light blue

            }, //here is your dangling comma

            ]

ie does not take kindly to those. since do not list your actual js with data the if statements do not parse but i would check there also for invalid syntax. if possible put up a jsfiddle of what the js looks like for the chart once it has been parsed by php.


Related Query

More Query from same tag