Page 1 of 1

TeeChart doesn't working with Chinese characters

Posted: Tue Dec 11, 2007 6:49 pm
by 7662493
we are working with TeeChart for Java version 1, Build 1.0.1.818 and have problem for generate image (jpg format) with Chinese characters for labels. It is support for this version?

Posted: Wed Dec 12, 2007 3:25 pm
by Marc
Hello,

Chinese characters are supported. The following test checks out ok here:

Code: Select all

chart.getSeries(1).getMarks().setVisible(true);
                               
chart.getSeries(1).add(3,"序列");
chart.getSeries(1).add(6,"序列");
chart.getSeries(1).add(7,"序列");
                                
chart.getHeader().setText("序列");
If your project does not support unicode you may use \u character coding: eg. "\u5E8F\u5217"
What option to use may depend on the environment you are using. Use the UTF8 file project option if available in your programming environment.

Regards,
Marc Meumann