Forum Replies Created

Viewing 1 post (of 1 total)
  • in reply to: chart wont render #17857

    In a success callback, I am putting in all the data and still not seeing the chart render on my browser. Any idea what could be going wrong?

    Here’s a look at the code I have written for grabbing and storing the data: Is this an error elsewhere in the code?

    success: function(data) {

    window.onload = function (){
    var dataGuys = [];

    data[‘totalvoteval’].forEach(function(value, index){
    dataGuys.push({x: (index * 10), y: value});

    var chart = new CanvasJS.Chart(“chartContainer”, {
    title: {
    text: “The Presentation Data Chart”;

    data: [

    type: “splineArea”;

    dataPoints: dataGuys;



Viewing 1 post (of 1 total)