<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>Lisboa Open 2018</title>

    <link rel="stylesheet" media="all" href="/lisboa2018/pt/style.css" />
    <link rel="stylesheet" media="all" href="/lisboa2018/pt/colors.css" />

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="robots" content="index" />
    <meta name="revisit-after" content="5 days" />
    <meta http-equiv="content-language" content="Portuguese" />

    <link rel="stylesheet" media="all" href="https://cubecomp.de/assets/competition_area-bf2c6f8559e62869bacd5f2f81fa344f6aa4139b7e5597aafcc97e4ba6fdac0b.css" />
<link rel="shortcut icon" type="image/x-icon" href="https://cubecomp.de/assets/favicon-7da0f516d08c49f202f52cbb0feede12a9e54ce40862c1a406ae7cae028497ad.ico" />
<script src="https://cubecomp.de/assets/competition_area-81723f02e58c85e24b90a235ca3c72661a42987e6e67c4c15b9c22d746ae91f6.js"></script>

  </head>

  <body>
    <div id="container">
      <div id="localeselect">
        
          

          <a href="/lisboa2018/pt/stats"><img src="https://cubecomp.de/system/theme_files/images/000/006/237/original/pt_active.png?1522102063" alt="Portuguese" /></a>
        
      </div>

      <div id="wcalogo">
        <a href="http://www.worldcubeassociation.org/"><img src="https://cubecomp.de/system/theme_files/images/000/006/235/original/wca_small.png?1522102063"></a>
      </div>

      <div id="header">
        <div id="logo">
          <h1>Lisboa Open 2018</h1>
          <h2>Cubo de Rubik</h2>
        </div>

        <div id="menu">
          <ul>
            <li >
              <a href="/lisboa2018/pt">Informação</a>
            </li>

            <li >
              <a href="/lisboa2018/pt/competitors">Competidores</a>
            </li>

            <li >
              <a href="/lisboa2018/pt/registration">Registo</a>
            </li>

            <li >
              <a href="/lisboa2018/pt/schedule">Cronograma</a>
            </li>

            <li >
              <a href="/lisboa2018/pt/disclaimer">Organização</a>
            </li>
          </ul>
        </div>
      </div>

      <div id="page">
        <div id="content">
          <h2>Estatísticas</h2>

<h3>Modalidades</h3>
<div id="highcharts_container_events" style="height: 400px"></div>

<h3>Registos</h3>
<div id="highcharts_container_registration_process" style="height: 400px"></div>

<div style="float: left">
  <h3>Países</h3>
  <div id="highcharts_container_countries" style="width: 25%; height: 400px; display: inline"></div>
</div>

<h3>Dias</h3>
<div id="highcharts_container_days" style="width: 25%; height: 400px; display: inline"></div>

<script type="text/javascript">
<!--
$(document).ready(function() {

  var chart1 = new Highcharts.Chart({
    credits: { enabled: false },
    chart: { type: 'spline', renderTo: 'highcharts_container_registration_process' },
    title: { text: "" },
    xAxis: {
      type: 'datetime',
      dateTimeLabelFormats: {
        month: '%e. %b',
        year: '%b'
      },
    },
    yAxis: { title: { text: "Número de registos" }, min: 0 },
    series: [
      {
        name: 'Competidores',
        data: [
            [ Date.UTC(2018, 4 - 1, 1), 33 ],
            [ Date.UTC(2018, 4 - 1, 2), 40 ],
        ],
      },
      {
        name: 'Convidados',
        data: [
        ]
      }
    ]
  });

  var chart2 = new Highcharts.Chart({
      credits: { enabled: false },
      chart: {
         renderTo: "highcharts_container_events",
         defaultSeriesType: 'column'
      },
      title: { text: '' },
      xAxis: { categories: [
          "5b",
          "4b",
          "cl",
          "7",
          "3b",
          "6",
          "s1",
          "mx",
          "5",
          "skewb",
          "oh",
          "4",
          "2",
          "3",
      ] },
      yAxis: {
         min: 0,
         title: {
            text: 'Registos'
         }
      },
      tooltip: {
         formatter: function() {
            return '<b>'+ this.x +'</b><br/>'+
                this.series.name +': '+ this.y +'<br/>'+
                'Total: '+ this.point.stackTotal;
         }
      },
      plotOptions: {
         column: {
            stacking: 'normal'
         }
      },
      series: [
        {
          name: "Não Iniciante",
          data: [
              3,
              4,
              4,
              6,
              6,
              7,
              8,
              10,
              12,
              13,
              14,
              15,
              19,
              24,
          ]
        },
        {
          name: "Iniciante",
          data: [
              0,
              0,
              0,
              0,
              0,
              0,
              0,
              2,
              1,
              1,
              2,
              3,
              13,
              16,
          ]
        }
      ],
   });

   var chart3 = new Highcharts.Chart({
      credits: { enabled: false },
      chart: { renderTo: 'highcharts_container_countries' },
      title: { text: '' },
      legend: { enabled: false },
      tooltip: { formatter: function() { return '<b>'+ this.point.name +'</b>: '+ this.y; } },
      plotOptions: {
         pie: {
           allowPointSelect: true,
           cursor: 'pointer',
           dataLabels: { enabled: false  }
         }
      },
       series: [{
         type: 'pie',
         name: '',
         data: [
             [ "United Kingdom", 2 ],
             [ "Portugal", 38 ],
         ]
      }]
   });

  var chart4 = new Highcharts.Chart({
      credits: { enabled: false },
      chart: {
         renderTo: "highcharts_container_days",
         defaultSeriesType: 'column'
      },
      title: { text: '' },
      xAxis: { categories: [
          "Sábado",
          "Domingo",
      ]},
      yAxis: {
         min: 0,
         title: {
            text: 'Registos'
         }
      },
      tooltip: {
         formatter: function() {
            return '<b>'+ this.x +'</b><br/>'+
                this.series.name +': '+ this.y +'<br/>'+
                'Total: '+ this.point.stackTotal;
         }
      },
      plotOptions: {
         column: {
            stacking: 'normal'
         }
      },
      series: [
        {
          name: 'Competidores',
          data: [
              21,
              40,
          ]
        },
        {
          name: 'Convidados',
          data: [
              2,
              0,
          ]
        }
      ],
   });
});
-->
</script>


        </div>
      </div>

      <div id="footer">
        <p id="legal">
          Design por <a href="http://www.nodethirtythree.com/">NodeThirtyThree</a> &amp;
          <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.
        </p>
      </div>
    </div>
  </body>
</html>
