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 think the font serialization might have been messed up in that version of WebChart.
try setting it at runtime:
this.ultraChart1.TitleTop.Font = new Font("Tahoma", 12);
Hi David,
I am using Infrgistic webchart barchart graph. Version is 4.1. I am trying to change font of titletop to 'Tohma' .It is changing in design time mode but when I run application it reset back to Courier Thai for some reason . I could not locate any property named ' TextRenderingHint' and 'SmoothingMode' in my version. Could you please confirm it is the same version for which you are giving suggestion. If it is not if you can give me some workaroung would really appreciate.
Thanks in Advance
-Ranjana.
Perfect. Thanks!
you can force ClearType text rendering by setting the TextRenderingHint property of the control.
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?