Metrics dashboard</h1>

  <div class="news">Latest value: <span id="value"></span></div><br>

  <div id="container" style="height: 400px; min-width: 310px"></div>

  <script>

    Highcharts.setOptions({
      global: {
        useUTC: false
      }
    });

    $('#container').highcharts({
      chart: {
        type: 'spline',
        animation: Highcharts.svg, // don't animate in old IE
        marginRight: 10,
        events: {
          load: function () {
            var that = this;
            var s