Home Forums Chart Support canvasjs bar chart – ie8

canvasjs bar chart – ie8

Viewing 3 posts - 1 through 3 (of 3 total)
  • #15831

    Hii, facing issue with IE8 & canvajs bar chart. error below
    SCRIPT5009: ‘jQuery’ is undefined
    File: jquery.canvasjs.min.js, Line: 661, Column: 1
    SCRIPT5007: Unable to get property ‘firstChild’ of undefined or null reference
    code:
    var chart = new CanvasJS.Chart(“chartContainer”, {
    axisX:{
    gridThickness: 0,
    gridColor: “white”,
    lineThickness: 0,
    tickLength: 0,
    labelFontSize: 20,
    labelFontColor: “black”
    },
    axisY:{
    gridThickness: 0,
    gridColor: “white”,
    lineThickness: 0,
    tickLength: 0,
    labelFormatter: function(e){
    return ” ” + “”;
    },
    },
    width: 400,
    data: [
    {
    type: “column”,
    indexLabelPlacement: “outside”,
    indexLabelOrientation: “horizontal”,
    dataPoints: [
    { x: 1, y: 40, label: “Venezuela”, indexLabel: “apple” },
    { x: 2, y: 15, label: “Saudi”, indexLabel: “Orange” },
    { x: 3, y: 28, label: “Canada”, indexLabel: “Grape”}
    ]
    }
    ]
    });

    chart.render();
    }

    #15860

    Hello,
    Can you please advise with a solution. Thanks, Saran

    #15862

    @saravanan-srinivasan,

    Initializing chart inside window.onload would work in your case.

    Please take a look at this documentation for window.onload.

    ____________
    Indranil Deo,
    Team CanvasJS

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.