I have a javascript enabled WebView
with a ChromeWebClient
and they display the Chart.Js pie example fine. After I set the options to animation: false, then stop displaying the chart.
var pieOptions = {
animation : false
}
window.onload = function(){
var ctx1 = document.getElementById("chart-area1").getContext("2d");
window.myPie1 = new Chart(ctx1).Pie(pieData,pieOptions);
var ctx2 = document.getElementById("chart-area2").getContext("2d");
window.myPie2 = new Chart(ctx2).Pie(pieData);
};
The first pie chart with the disabled animation doesn't display, the second does. Both display fine on desktop Chrome. I am using an Android 4.4.4 device by the way. After tapping the are where the inanimated chart should be, it will display itself (I guess refreshing the chart with the touch event).
Am I missing something or is this a bug?