Chartjs-Internet Explorer 11 Chart using random values to update

0👍

Found the solution for anyone interested: There’s a function which creates the charts, once the input range field changes its value. Wrapping it with a setTimeout function solved the issue. It seems like IE11 had problems with instant execution of the createChart function.

szenario_range_input.onchange = function() {    
    setTimeout(function() {     
        $('#myChart').remove();
        $('#myChart2').remove();
        $('.chart-mining-results').append('<canvas id="myChart" width="" height="128px"></canvas>');
        $('.chart-development').append('<canvas id="myChart2" width="" height="128px"></canvas>');
        charts();
    }, 150);    
  }

Leave a comment