title: Why does flex DateTimeAxis creates duplicate months on the axis?
body: <p>I am working with a Flex DateTimeAxis.  I have a scenario where the DateTimeAxis sometimes creates duplicate months on the Axis.  The month label unit is generated based on a min/max value that is supplied to the DateTimeAxis, it is NOT generated by the series data as far as I can tell.  In other words, the duplication does not exist within the data supplied to the chart, but is part of automatic label generation process that DateTimeAxis will execute when supplying a min/max value for the axis.</p>
  
  <p>I have included a simplified example of this issue below.  Any help is appreciated.</p>
  
  <pre><code>&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"&gt;
  
  &lt;mx:Script&gt;
      &lt;![CDATA[
          import mx.collections.ArrayCollection;
  
          [Bindable] 
          public var stockDataAC:ArrayCollection = new ArrayCollection( [
              {date: new Date(2009,4), close: 41.71},
              {date: new Date(2009,5),close: 42.21},
              {date: new Date(2009,6), close: 42.11},
              {date: new Date(2009,7), close: 42.71},
              {date: new Date(2009,9), close: 42.99}
              ]);
  
          [Bindable] private var min:Date = new Date(2009,4);
          [Bindable]  private var max:Date = new Date(2010,3);
  
          private function formatDate(value:Date,previousValue:Date,axis:DateTimeAxis):String {               
              var dateLabel:String = df.format(value);
  
              return dateLabel;
          }
      ]]&gt;
  &lt;/mx:Script&gt;
  
  &lt;mx:DateFormatter id="df" formatString="MMM YY"/&gt;
  &lt;mx:Panel title="DateTimeAxis Example" height="100%" width="100%"&gt;
  
      &lt;mx:LineChart id="mychart" height="100%" width="100%"
          paddingRight="5" paddingLeft="5" 
          showDataTips="true" dataProvider="{stockDataAC}"&gt;
  
          &lt;mx:horizontalAxis&gt;
              &lt;mx:DateTimeAxis dataUnits="months" labelUnits="months" alignLabelsToUnits="false" labelFunction="formatDate" minimum="{min}" maximum="{max}"/&gt;
          &lt;/mx:horizontalAxis&gt;
  
          &lt;mx:verticalAxis&gt;
              &lt;mx:LinearAxis baseAtZero="false" /&gt;
          &lt;/mx:verticalAxis&gt;
  
          &lt;mx:series&gt;
              &lt;mx:LineSeries yField="close" xField="date" displayName="AAPL"/&gt;
          &lt;/mx:series&gt;
      &lt;/mx:LineChart&gt;
  
  &lt;/mx:Panel&gt;
  </code></pre>
  
  <p></p>