title: ASP.NET Chart control set month names from int value on X Axis labels
body: <p>I want to replace numbers (1, 2, 3, ...) on the X Axis of the chart with the corresponding month name.</p>
  
  <p>This is my actual chart:</p>
  
  <p><img src="https://i.stack.imgur.com/9r8vd.png" alt="Actual chart"></p>
  
  <p>On the <code>DataView</code> that populates the <code>Series</code> I have the "MONTH" column that contains values from 1 to 12.
  I also had to manually set the <code>Minimum</code> and <code>Maximum</code> value to 0 and 13, otherwise I lose the first and last column because of a lack of space between the beginning of the first X Axis column and the Y Axis and between the last X Axis column end of Chart area.</p>
  
  <pre><code>&lt;ChartAreas&gt;
      &lt;asp:ChartArea Name="ChartArea1"&gt;
          &lt;AxisX IsStartedFromZero="True" Title="Mese"
              TitleFont="Segoe UI, 10pt, style=Bold" IsLabelAutoFit="False" LineColor="Gray"
              Minimum="0" Maximum="13"&gt;
              &lt;MajorGrid LineColor="LightGray" /&gt;
              &lt;LabelStyle Font="Segoe UI, 9pt" /&gt;
          &lt;/AxisX&gt;
      &lt;/asp:ChartArea&gt;
  &lt;/ChartAreas&gt;
  </code></pre>
  
  <p>So, if I replace the int values with month names I also need to remove the Min and Max parameters, but I want to keep the space like it is now.</p>
  
  <p>I tried with some solutions suggested here and elsewhere but with no results.
  The easiest, most effective and immediate seemed to be this:</p>
  
  <pre><code>Chart1.ChartAreas[0].AxisX.LabelStyle.Format = "MMM";
  </code></pre>
  
  <p>but it doesn't work. Instead I get "MMM" string in place of the integer values.</p>
  
  <p>Is it possible to intercept the <code>DataBind</code> event like on a GridView, to replace the integer values with month names?</p>