If you run the following with specific dates of Date(2018, 02, 24… this code works as expected in jsfiddle etc.
However, if you attempt to run it as-below with the date Date(2018, 02, 25… – then it causes the Firefox browser to totally choke across all platforms.
var chart = new CanvasJS.Chart("chartContainer",
{
zoomEnabled: true,
panEnabled: true,
title:{ text: "Latest data" },
data: [
{
showInLegend: true,
lineThickness: 1,
color: "#6633FF",
type: "line",
name: "Load",
dataPoints: [
{ x: new Date(2018, 02, 25, 00, 00, 06, 0), y: 1.000 },
{ x: new Date(2018, 02, 25, 02, 28, 22, 0), y: 2.000 },
]
},
]
});
chart.render();
I tried to debug the issue a little – but ran out of time. The exact error message is “(firefox banner) A webpage is slowing down your browser, what would you like to do? Close / Wait”. After this error manifests, Firefox is misbehaving. Tried various FF versions on Win & Lin. Please help! Many Thanks in advance.
P.S. Bug does not appear in Opera/Windows.
-
This topic was modified 7 years, 3 months ago by
acro_prop. Reason: additional information specified