title: Highcharts percentage of total for simple bar chart
body: <p>I have a simple 1-series bar chart where each bar has a nominal value.
  I can plot this fine with the data labels and axis representing the value for each bar but I'd like to have the data label and axis show the percentage of the total of the series while the nominal value is shown in a tooltip on hover (thus I don't want to convert the data to percentages prior to plotting).</p>
  
  <p>Here is an image showing what I'm after and where I am now:</p>
  
  <p><a href="http://jsfiddle.net/WR3rz/" rel="noreferrer">fiddle</a></p>
  
  <p><img src="https://i.stack.imgur.com/Jvk30.png" alt="enter image description here"></p>
  
  <p>Here's what I currently have for axis labels as the formatter function:</p>
  
  <pre><code>plotOptions: {
              bar: {
                  dataLabels: {
                      enabled: true,
                      formatter: function(){
                          return Highcharts.numberFormat(this.y,0);
                      }
                  }
              }
          }
  </code></pre>
  
  <p>Is there some <code>formatter</code> function variable I can use to achieve this? I know it is easily done on a pie chart but I feel bar charts represent data much better.</p>
  
  <p>EDIT: To put it simply, how do I get the sum of all the series' points? Once I have this it is straightforward to get the percentage: </p>
  
  <p><code>return Highcharts.numberFormat(100 * this.y / this.y.total,0) + "%";</code></p>
  
  <p>where <code>this.y.total</code> is the sum of the series.</p>