#win-graph{ :style => "min-width: 310px; height:400px; auto" }
:javascript
  $('#win-graph').highcharts({
      chart: {
        type: 'bar'
      },
      title: {
        text: ''
      },
      xAxis: {
        categories: #{normal_stats.players}
      },
      yAxis: {
        allowDecimals: false,
        title: {
          text: 'Wins'
        }
      },
      legend: {
        enabled: false
      },
      series: [{
        name: 'Win Count',
        data: #{normal_stats.scores}
      }]
    });
​
- if normal_stats.players.count > 0
  #win-graph{ :style => "min-width: 310px; height:400px; auto" }
  :javascript
    $('#win-graph').highcharts({
        chart: {
          type: 'bar'
        },
        title: {
          text: ''
        },
        xAxis: {
          categories: #{normal_stats.players}
        },
        yAxis: {
          allowDecimals: false,
          title: {
            text: 'Wins'
          }
        },
        legend: {
          enabled: false
        },
        series: [{
          name: 'Win Count',
          data: #{normal_stats.scores}
        }]
      });
​
Hide Graph for Normal Games is no games are won
Hide Graph for Normal Games is no games are won
