Can't display the chinses word in web chart!!!!

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Cliven
Newbie
Newbie
Posts: 18
Joined: Fri May 14, 2004 4:00 am
Location: Malaysia

Can't display the chinses word in web chart!!!!

Post by Cliven » Tue May 18, 2004 11:17 am

Dear Sir/Miss

I just bought the TChart.net version. But it can't display the chinses word in the TChart web form!

I did follow the simple to active the chinses word.
Steema.TeeChart.Languages.ChineseSimp.Activate()

Do you have any simple or source code to display the chinese word!
Tchart support which chinese word type? Big5 or other

Please reply whether can or can't :(

Thank
Cliven Yong
Metierview

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Wed May 19, 2004 7:43 am

Hi Cliven,
Tchart support which chinese word type? Big5 or other
Yes, it supports the Big5 – this all depends on in which encoding you save your .NET *.cs (or *.vb etc.) files. Open a .NET WinForm project, click on Form1.cs (or your form), go to File -> Save Form1.cs As… , click on the arrow next to the “Save” button and choose “Save with Encoding” … replace the existing file and you will see that BIG5 is one of the encoding options. All this means is that the client can type in Traditional-Chinese to the *.cs file and ser chart properties (e.g. tChart1.Header.Text etc.) and these properties will display the Chinese writing.

Cliven
Newbie
Newbie
Posts: 18
Joined: Fri May 14, 2004 4:00 am
Location: Malaysia

Post by Cliven » Wed May 19, 2004 11:25 am

Dear Sir/Miss

I did add the charset = Chinese Traditional (Big5) in my webform.
but the chinese word still do not show properly. but in my other webform component is display the chinese word. only the TChart is showing the funny word.

Hi! do you have any source code for the WebForm VB.net code behind.
In your demo programs all is C# application and just basic function is using asp.net + vb.net. How Come? Serious I quite disppointed about this.

:(
Cliven
Metierview

Christopher
Site Admin
Site Admin
Posts: 1349
Joined: Thu Jan 01, 1970 12:00 am
Location: Riudellots de la Selva, Catalonia
Contact:

Post by Christopher » Thu May 20, 2004 9:07 am

Hi --
I did add the charset = Chinese Traditional (Big5) in my webform.
but the chinese word still do not show properly. but in my other webform component is display the chinese word. only the TChart is showing the funny word.

Hi! do you have any source code for the WebForm VB.net code behind.
In your demo programs all is C# application and just basic function is using asp.net + vb.net. How Come? Serious I quite disppointed about this.
Go to:
C:\Program Files\Steema Software\TeeChart for .NET v1\TeeChartForNET\WebFormVB

And open WebFormVB.vbproj. In the solution explorer make sure you have the "Show all Files" toggled. Open all aspx AND aspx.vb and save them with Unicode (UTF-8 with signature) - Codepage 65001 encoding.

Now add some Chinese characters to the codeline:

Code: Select all

 ch1.Header.Text = 
in the file WebForm1.aspx.vb and save and run the project.

I get the following results using the latest publicly available version of TeeChart running under IIS6.0:

Image
Thank you!

Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/

Cliven
Newbie
Newbie
Posts: 18
Joined: Fri May 14, 2004 4:00 am
Location: Malaysia

Thank Alot

Post by Cliven » Thu May 20, 2004 10:29 am

Hi Chris

Really thank alot. Now I did successfully display the chinese word in the TChart.

Your solution make us move to next step. Really thank a lot.
We decide continue support Steema Product. Since you all provide great support!!

Thank

Cliven..

Post Reply