Hi, I use PostPaint event of Chart 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:
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);
However the produced text in the result chart is horrible (labels 100 and 200):
How can I make the custom text look as the original?