Home forums Report Bugs Data Click Browser Issue(IE)

This topic contains 1 reply, has 2 voices, and was last updated by  Vishwas R 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11644

    muralimnmcse
    Member

    Hi,

    Data Click event is not working in IE (edge) but it is works fine in Google Chrome.
    The points 0.38,0.29,0.17 in the below sample has issue.

    Sample:
    var chart = new CanvasJS.Chart(“chartContainer”, {
    title:{
    text: “Plotting Interval Issue in CanvasJS”
    },
    axisY:{
    minimum: 0,
    maximum: 200,
    interval: 50
    },
    data: [
    {
    // Change type to “doughnut”, “line”, “splineArea”, etc.
    type: “column”,
    click: function (e) {
    alert(e.dataPoint[“y”]);
    },
    cursor: “pointer”,
    dataPoints: [
    { label: “A”, y: 170.22 },
    { label: “B”, y: 5.12 },
    { label: “C”, y: 2.84 },
    { label: “D”, y: 2.40 },
    { label: “E”, y: 2.38 },
    { label: “F”, y: 2.24 },
    { label: “G”, y: 2.12 },
    { label: “H”, y: 1.71 },
    { label: “I”, y: 1.65 },
    { label: “J”, y: 1.51 },
    { label: “K”, y: 0.99 },
    { label: “L”, y: 0.97 },
    { label: “M”, y: 0.84 },
    { label: “N”, y: 0.69 },
    { label: “O”, y: 0.59 },
    { label: “P”, y: 0.38 },
    { label: “Q”, y: 0.29 },
    { label: “R”, y: 0.17 }
    ]
    }
    ]
    });
    chart.render();

    #11647

    Vishwas R
    Keymaster

    muralimnmcse,

    Click event seems to be working fine across all browsers including Microsoft Edge.
    Data-Click Event

    Data-Click Event

    If you still find the issue, please create a jsfiddle and provide the browser version detail, so that we can look into the issue and resolve it.

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

You must be logged in to reply to this topic.