Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Text in MS Charts gets "blocky" when BackColor is transparent [closed]

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.

like image 332
Markus Avatar asked Nov 26 '09 13:11

Markus


1 Answers

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

Taken from this thread.

like image 97
jansokoly Avatar answered Nov 15 '22 10:11

jansokoly