Hi,
I am using TChart1.Series(currSeries).Add Val(tmpArr(i + 1)), str1, getColor(i), whereby str1 is declare as string in VB6 & contain chinese character. But it end up displaying 'Thai' character like string in TeeChart.
I am using TeeChart Pro v5.0.6. The component works perfectly in english for years, but recently we added chinese language option in our application and having the problem mentioned.
Hope can get some hints to solve this problem.
Can't display chinese in chart series
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Cliven,
TeeChart ActiveX interfaces support WideString. WideString accepts multi-byte character input, that may be 1, 2 , 4, etc bytes. That should work correctly in Chinese native machines. There are limitations in non native machines (eg. English operating system and non-unicode (2 byte) locale set to Chinese) because strings used internally in TeeChart ActiveX are Ansistring and there have been problems in the conversion from Widestring. There is a test version on the TeeChart Customer download page that offers improved support for the handling of Widestrings in all environments, any feedback would be welcome on that version. The problem is that this test version is only available for the latest TeeChart Pro v7.
TeeChart ActiveX interfaces support WideString. WideString accepts multi-byte character input, that may be 1, 2 , 4, etc bytes. That should work correctly in Chinese native machines. There are limitations in non native machines (eg. English operating system and non-unicode (2 byte) locale set to Chinese) because strings used internally in TeeChart ActiveX are Ansistring and there have been problems in the conversion from Widestring. There is a test version on the TeeChart Customer download page that offers improved support for the handling of Widestrings in all environments, any feedback would be welcome on that version. The problem is that this test version is only available for the latest TeeChart Pro v7.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |