title: How to create a single series bar graph with Highcharts
body: <p>I'm trying to create a simple Highcharts bar graph with a single series and multiple labels in the legend. How is this done? </p>
  
  <p>Here is an example:</p>
  
  <pre><code>    $('#container').highcharts({
  
      chart: {
          type: 'bar',
      },
      legend: {
          enabled: true,
          layout: 'vertical',
          align: 'right',
          verticalAlign: 'middle',
          labelFormatter: function() {
              return this.name + " - &lt;span class='total'&gt;"+this.y+"&lt;/span&gt;"
          }
      },
      title: {
          text: 'Simple Bar Graph'
      },
      xAxis: {
          categories: ['First', 'Second', 'Third', 'Fourth', , 'Fifth'],
          allowDecimals: false
      },
      yAxis: {
          allowDecimals: false
      },
  
      series: [
          {
              data: [
                  {y: 6, name: 'First', color: 'blue'},
                  {y: 7, name: 'Second', color: 'green'},
                  {y: 9, name: 'Third', color: 'yellow'},
                  {y: 1, name: 'Fourth', color: 'orange'},
                  {y: 1, name: 'Fifth', color: 'red'}
              ]
          }
      ],
  
  });
  </code></pre>