Home forums Report Bugs CanvasJs crashes web page

This topic contains 3 replies, has 3 voices, and was last updated by  Anjali 1 year, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #7576

    pjnoguerol
    Participant

    hello i have a problem with this json done with php

    [{“type”:”stackedColumn100″,”indexLabelFontColor”:”white”,”indexLabelPlacement”:”inside”,”indexLabel”:”{y} (#percent %)”,”legendText”:2014,”dataPoints”:[{“label”:”IVAN OLIVARES”,”y”:16},{“label”:”PACO PATINo”,”y”:null},{“label”:”JOSE MARIA”,”y”:4}]},{“type”:”stackedColumn100″,”indexLabel”:”{y} (#percent %)”,”indexLabelFontColor”:”white”,”indexLabelPlacement”:”inside”,”legendText”:2015,”dataPoints”:[{“label”:”IVAN OLIVARES”,”y”:9},{“label”:”PACO PATINo”,”y”:10},{“label”:”JOSE MARIA”,”y”:5}]}]

    when i get the json with ajax jquery in that dinamic code, the web page crashes

    function pick(){
    $.ajax({
    type: “POST”,
    cache: false,
    url: “panama_monitor_json2.php”,
    dataType: “json”,
    success: function(data) {
    var options = {
    title:{
    text: “Trabajo Operario”
    },
    axisY:{
    title: “Porcentaje”
    },
    legend:{
    verticalAlign: “top”,
    horizontalAlign: “center”
    },

    data:
    data

    };

    $(“#chartContainer2”).CanvasJSChart(options);
    setTimeout(function(){pick()}, 5000);

    }
    });

    }

    #7577

    pjnoguerol
    Participant

    http://canvasjs.com/docs/charts/chart-types/html5-stacked-column-chart/

    In this page of your domain, crashes too

    Is possible the same problem?

    thanks

    #7578

    Sunil Urs
    Keymaster

    Thanks for reporting the issue. We’ll have a look and get back at the earliest.


    Sunil Urs

    #8067

    Anjali
    Participant

    pjnoguerol,

    This issue has been in the latest version – 1.6.0 Beta. Please download the same and let us know if its working as expected at your end.

    __
    Anjali

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

You must be logged in to reply to this topic.