title: How to Display Month and Year in xAxis of Highcharts datetime graph
body: <p>I have an dateline type of graph displayed using both angularjs and highcharts. The date value is retreived from JSON response as say 20120905(YYYYMMDD). As i have read in many forums I converted my date to UTC format for plotting in graph. The graph is plotted correctly, but my xaxis is dispalying on they UTC values like 1,370G for all the date time values. </p>
  
  <pre><code>$scope.chartConfig = {
              options: {
                  chart: {
                      type: 'line',
                      zoomType: 'x'
                  }
              },
              credits: {
                  enabled: false
              },
              series: [{
                  name: '% of Accounts',
                  data: outerSeries   /* Contains the data  similar to this. [[1368835200000, 2.9], [1371513600000, 0.5], [1374105600000, 1.94], [1376784000000, 1.44], [1379462400000, 1.18]] */
              }],  
              title: {
               text: tableTitle
              },
              xAxis: [{
  
                  labels: {format: '{value:%Y}' },
                  /*dateTimeLabelFormats:{
                    month:'%Y',
                    year:'%Y'
                  },*/
                type:"datetime"
              }],
              yAxis: {title: {text: 'TestReport'}},
              tooltip: {
                formatter: function() {
                var myDate = new Date(this.x);
                var newDateMs = Date.UTC(myDate.getUTCFullYear(),myDate.getUTCMonth()-1,myDate.getUTCDate());
                return '&lt;b&gt;'+ this.series.name +'&lt;/b&gt;&lt;br/&gt;'+Highcharts.dateFormat('%e. %b', newDateMs) +': '+ this.y;}
              },
              //xAxis: {currentMin: 0, currentMax: 10, minRange: 1, title:{text:'Time Period'}},
              //xAxis: {ordinal:false,type:'datetime', dateTimeLabelFormats: {  year: '%b%Y' }, title:{text:'Time Period'}},
              loading: false
          }
      });
  </code></pre>