title: .NET WinForms Charts: Fuzzy fonts in postpainting
body: <p>I use <strong>PostPaint</strong> event of <strong>Chart</strong> control to embellish my chart. Along with other stuff I draw custom labels. For drawing text I use the same font as axes has, the default one:</p>
  
  <pre><code>Graphics g = e.ChartGraphics.Graphics;  
  SizeF textSize = g.MeasureString(label, chart.ChartAreas[0].AxisX.LabelStyle.Font);  
  g.DrawString(label, chart.ChartAreas[0].AxisX.LabelStyle.Font, System.Drawing.Brushes.Black, 
      new RectangleF(new PointF(location.X - textSize.Width / 2, location.Y), textSize), LabelFormat);   
  </code></pre>
  
  <p>However the produced text in the result chart is horrible (labels 100 and 200):</p>
  
  <p><a href="http://share.saman-cz.com/screen.png" rel="nofollow">Screenshot</a></p>
  
  <p>How can I make the custom text look as the original?</p>