PC crash when i use Chrome

PC crash when i use Chrome

Hello,
I have a problem when I use jqxChart with Google Chrome or Chromium ...

When I run my index.php file, my mouse is idling and my PC is very slow. I have to reboot to make it back to normal.

But when I run my index.php in Mozilla Firefox, I have no problem and my graphic display normally.

Do you know what is the problem with Chrome / Chromium?

Thank you in advance

  1. index.php : 
  2. <!DOCTYPE html>
  3. <html lang="en">
  4. <head>
  5.     <title id='Description'>jqxChart Stacked Column Series Example</title>
  6.     <link rel="stylesheet" href="js/styles/jqx.base.css" type="text/css" />
  7.     <script type="text/javascript" src="js/scripts/jquery-1.11.1.min.js"></script>
  8.     <script type="text/javascript" src="js/jqxcore.js"></script>
  9.     <script type="text/javascript" src="js/jqxdata.js"></script>
  10.     <script type="text/javascript" src="js/jqxdraw.js"></script>
  11.     <script type="text/javascript" src="js/jqxchart.core.js"></script>
  12.     <script type="text/javascript">
  13.         $(document).ready(function () {
  14.             // prepare chart data as an array
  15.             var sampleData = [
  16.                     { Day: '01-12-14', ED: 200, PO: 300, VP: 35, VPN: 45 },
  17.                     { Day: '02-12-14', ED: 150, PO: 425, VP: 20, VPN: 55 },
  18.                     { Day: '03-12-14', ED: 250, PO: 400, VP: 35, VPN: 35 }
  19.                 ];
  20.             // prepare jqxChart settings
  21.             var settings = {
  22.                 title: "Test stats N2",
  23.                 description: "",
  24.                 enableAnimations: true,
  25.                 showLegend: true,
  26.                 padding: { left: 5, top: 5, right: 5, bottom: 5 },
  27.                 titlePadding: { left: 90, top: 0, right: 0, bottom: 10 },
  28.                 source: sampleData,
  29.                 xAxis:
  30.                     {
  31.                         dataField: 'Day',
  32.                         unitInterval: 1,
  33.                         axisSize: 'auto',
  34.                         tickMarks: {
  35.                             visible: true,
  36.                             interval: 1,
  37.                             color: '#BCBCBC'
  38.                         },
  39.                         gridLines: {
  40.                             visible: true,
  41.                             interval: 1,
  42.                             color: '#BCBCBC'
  43.                         }
  44.                     },
  45.                 valueAxis:
  46.                 {
  47.                   //  unitInterval: 10,
  48.                     //minValue: 0,
  49.                    // maxValue: 120,
  50.                     title: { text: 'Nb de connexions' },
  51.                     labels: { horizontalAlignment: 'right' },
  52.                     tickMarks: { color: '#BCBCBC' }
  53.                 },
  54.                 colorScheme: 'scheme06',
  55.                 seriesGroups:
  56.                     [
  57.                         {
  58.                             type: 'stackedcolumn',
  59.                             columnsGapPercent: 50,
  60.                             seriesGapPercent: 0,
  61.                             series: [
  62.                                     { dataField: 'ED', displayText: 'ED' },
  63.                                     { dataField: 'PO', displayText: 'PO' },
  64.                                     { dataField: 'VP', displayText: 'VP' },
  65.                                     { dataField: 'VPN', displayText: 'VPN' }
  66.                                 ]
  67.                         }
  68.                     ]
  69.             };
  70.             // setup the chart
  71.             $('#chartContainer').jqxChart(settings);
  72.         });
  73.     </script>
  74. </head>
  75. <body class='default'>
  76.     <div id='chartContainer' style="width:850px; height:500px;"/>
  77. </body>
  78. </html>