Localization problem: New point in series
Localization problem: New point in series
We are using TeeChart2010 on ASP.NET web pages. The IIS is on a Japanese Win2008 server. When the IE client is running on an English OS, we get a localization problem(question marks in tee-file). There is no problem with a Japanese IE client.
The following code is running on the web server:
TeeChart::ITChartPtr chart;
chart.CreateInstance(__uuidof(TeeChart::TChart));
// template chart is imported and saved in IIS SessionData directory
chart->Import->LoadFromStream(stream);
chart->Export->SaveToFile(sessiondatafile.c_str());
// chart header modifications with Japanese chars - OK
chart->Header->GetText()->Clear();
chart->Header->GetText()->Add("<Japanese Chars>");
// chart series null point added with Japanese chars - localization problem
chart->aSeries[0]->AddNull("<Japanese Chars>");
// chart is saved in IIS SessionData directory
chart->Export->SaveToFile(sessiondatafile.c_str());
Thanks
Jürgen
The following code is running on the web server:
TeeChart::ITChartPtr chart;
chart.CreateInstance(__uuidof(TeeChart::TChart));
// template chart is imported and saved in IIS SessionData directory
chart->Import->LoadFromStream(stream);
chart->Export->SaveToFile(sessiondatafile.c_str());
// chart header modifications with Japanese chars - OK
chart->Header->GetText()->Clear();
chart->Header->GetText()->Add("<Japanese Chars>");
// chart series null point added with Japanese chars - localization problem
chart->aSeries[0]->AddNull("<Japanese Chars>");
// chart is saved in IIS SessionData directory
chart->Export->SaveToFile(sessiondatafile.c_str());
Thanks
Jürgen
Re: Localization problem: New point in series
Hello Jürgen,
Does the English machine show other Japanese sites correctly?
I'm afraid I'm not sure to understand you. Are you getting an error message (which one if so?) or the Japanese texts aren't shown as expected?Jürgen wrote:we get a localization problem(question marks in tee-file)
Does the English machine show other Japanese sites correctly?
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Localization problem: New point in series
There is no error message! The Japanese characters as specified by AddNull(...) are not shown as expected. On the other hand, Japanese characters specified in chart->Header->GetText()->Add(...) are shown correctly on the English client.
The tee-files show the problem clearly, but I'm not allowed to upload tee-files. If it helps, please grant upload permission.
Thanks
Jürgen
The tee-files show the problem clearly, but I'm not allowed to upload tee-files. If it helps, please grant upload permission.
Thanks
Jürgen
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Localization problem: New point in series
Hi Jürgen,
You can upload tee files compressed in a zip package. Could you also let us know the exact TeeChart build you are using?
Thanks in advance.
You can upload tee files compressed in a zip package. Could you also let us know the exact TeeChart build you are using?
Thanks in advance.
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 |
Re: Localization problem: New point in series
We are using TeeChart v2010.0.0.3.
The zip contains 2 tee-files and 1 png-file:
- template.tee: before adding Japanese chars
- modifications.tee: after adding Japanese chars as described previously
- TeeChart.png: shows the result after adding Japanese chars
The zip contains 2 tee-files and 1 png-file:
- template.tee: before adding Japanese chars
- modifications.tee: after adding Japanese chars as described previously
- TeeChart.png: shows the result after adding Japanese chars
- Attachments
-
- JpnChars.zip
- (25.53 KiB) Downloaded 788 times
Re: Localization problem: New point in series
Hi Jürgen,
we've been able to see the problem by importing your .tee file, however, I've been unable to reproudce the problem by using code to add data to the chart. It workds fine using the following ways :
Could you please let us know which code is used to add the data to the Series Chart ?
we've been able to see the problem by importing your .tee file, however, I've been unable to reproudce the problem by using code to add data to the chart. It workds fine using the following ways :
Code: Select all
axTChart1.Series(0).AddlXY(0,0,"日本人",0);
axTChart1.Series(0).AddNullXY(0,0,"日本人");
Pep Jorge
http://support.steema.com
http://support.steema.com
Re: Localization problem: New point in series
You're right, that code is working fine. But you will get a localization problem here(screen shot attached), too, when reading the Japanese label. I don't know whether it is related to my original problem.
The used code is already mentioned above.
Regards
Jürgen
Code: Select all
Public Class Form1
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
AxTChart1.Import.LoadFromFile("c:\\template.tee")
AxTChart1.Series(0).AddNull("Jürgen")
AxTChart1.Series(0).AddNull("とぞたかわさき")
Dim pl0 As String, pl1 As String
pl0 = AxTChart1.Series(0).PointLabel(0) 'ok
pl1 = AxTChart1.Series(0).PointLabel(1) 'returns ?????
AxTChart1.Series(0).AddNull(pl0)
AxTChart1.Series(0).AddNull(pl1)
End Sub
End Class
Regards
Jürgen
- Attachments
-
- label.zip
- (14.29 KiB) Downloaded 734 times
Re: Localization problem: New point in series
Hi Jürgen,
I'm surry but I cannot reproduce the problem here using the latest TeeChart v2010.0.0.3 and your code. I've just imported the your .tee file to the chart at design time and then run your code into the form load method.
I've attached the sample project I've used and also the resulted form image to a this post.
I'm surry but I cannot reproduce the problem here using the latest TeeChart v2010.0.0.3 and your code. I've just imported the your .tee file to the chart at design time and then run your code into the form load method.
I've attached the sample project I've used and also the resulted form image to a this post.
- Attachments
-
- result.png (47 KiB) Viewed 20957 times
-
- JapChars.rar
- (189.02 KiB) Downloaded 820 times
Pep Jorge
http://support.steema.com
http://support.steema.com
Re: Localization problem: New point in series
Because I'm using VisualStudio2008 I couldn't load your solution. But I created a new project, imported the tee-file at design time and copied your code. The problem still exists!!!
Please make a suggestion, how to continue to solve my problem. Do you need more details?
Here is the exact build version from the About box: TeeChart Pro v2010.0.0.3.11109 Win32
Thanks
Jürgen
Please make a suggestion, how to continue to solve my problem. Do you need more details?
Here is the exact build version from the About box: TeeChart Pro v2010.0.0.3.11109 Win32
Thanks
Jürgen
Re: Localization problem: New point in series
I'm still waiting for your reply. Any news?
Regards
Jürgen
Regards
Jürgen
Re: Localization problem: New point in series
Hello Jürgen,
Excuse us for the delay with this. We haven't forgotten you. We are studying the problem and we'll be back to you asap.
Excuse us for the delay with this. We haven't forgotten you. We are studying the problem and we'll be back to you asap.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Localization problem: New point in series
Hello Jürgen,
We reproduced this problem with the latest version published (v2010.0.0.3) but we've tried to compile a new ocx with the actual sources and I can confirm that it will work fine with the next maintenance release.
I'll send the ocx that works fine for us here to the mail account you have registered in these forums.
We reproduced this problem with the latest version published (v2010.0.0.3) but we've tried to compile a new ocx with the actual sources and I can confirm that it will work fine with the next maintenance release.
I'll send the ocx that works fine for us here to the mail account you have registered in these forums.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Localization problem: New point in series
Hi,
Don't forget to send me the OCX.
When approximately will the next maintenance release be available?
Thanks
Jürgen
Don't forget to send me the OCX.
When approximately will the next maintenance release be available?
Thanks
Jürgen
Re: Localization problem: New point in series
Hello Jürgen,
I'm afraid I can't tell you an exact date for the next release to be published but we hope in the next weeks.
I've checked I sent you the ocx to the mail you have registered in this forums (kerju01@...). If you haven't received it, could you please tell us another mail account? You can send it by mail to "info at steema dot com" referencing this thread, if you don't want to publish it here.
I'm afraid I can't tell you an exact date for the next release to be published but we hope in the next weeks.
I've checked I sent you the ocx to the mail you have registered in this forums (kerju01@...). If you haven't received it, could you please tell us another mail account? You can send it by mail to "info at steema dot com" referencing this thread, if you don't want to publish it here.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Localization problem: New point in series
Hi,
as you suggested I contacted info@steema.com last Thursday, asking for a new OCX.
But not received yet, please try again.
Thanks
Jürgen
as you suggested I contacted info@steema.com last Thursday, asking for a new OCX.
But not received yet, please try again.
Thanks
Jürgen