5

When settings BackColor = Color.Transparent, this is the picture I end up with from Microsofts asp.net chart control

http://login.competencetool.se/blockychart.bmp

If I don't set any background(default is white), or set a color this is the result

change the image to okchart.bmp

Does anyone know if there's any way to get the font/text to don't get messed up when using transparent background?

I wasn't allowed to link the images, so look at the adresses.

Markus
  • 1,614
  • 1
  • 22
  • 32
  • Nice... `.BackColor = Color.Transparent;` is the culprit indeed. Just changed it to `Color.White` and now the `AntiAliasingStyles.All` is just perfect. – Leniel Maccaferri Jul 09 '13 at 23:55

1 Answers1

12

Set chart's AntiAliasing to AntiAliasingStyles.Graphics to disable the antialiasing on text.

Taken from this thread.

jansokoly
  • 1,994
  • 2
  • 18
  • 25