I have a chart that shows up with clear crisp fonts when in my development box. As soon as I transfer that application to the production server, the font rendered is different--it makes the chart labels hard to read.
I cleared all the images in the ChartImages folder in the production server to ensure that new images are generated but that did not fix the problem.
Are there any other solutions that I can try to remedy this problem? Thanks!
Is there a possible follow-up to this?
If you could provide a picture, that would help me understand what's going on.
Just guessing possible solutions...
- change the value of the TextRenderingHint property
- change the value of the SmoothingMode property
- use a different font
I noticed this issue going from my local machine to my dev server. I replicated the issue by switching off clearType in "Display Properties - Appearance -> Effects - screen font smoothing - Clear Type" on my local machine. With Clear Type on I get really nice fonts in IG charts, when I turn Clear Type off I get horrible hard to read text on the chart.
I haven't tried it on the dev server because the property is disabled on that machine (currently waiting for the sysadmin to see if he can enable it) but I am pretty sure it will fix it.
James.
I had the same problem and corrected it by changing the display properties as mentioned above, but is there a better way? If the application is deployed in a hosted environment this will not be a viable option. Can the better rendering be built into the control?
Perfect. Thanks!
you can force ClearType text rendering by setting the TextRenderingHint property of the control.