TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
-
HotSteemar
- Newbie
- Posts: 9
- Joined: Wed Nov 19, 2003 5:00 am
Post
by HotSteemar » Tue Mar 08, 2005 5:53 am
Hi,
I am trying to pop up the AxisEditor from the TeeChart graph window
in Japanese. The following method calls do the job alright in the
all-in-one Editor case.
Code: Select all
Steema.TeeChart.Editors.AskLanguage.ChangeLanguage(17);
ShowEditor();
But the next code for the AxisEditor fails to show the Japanese dialog.
The result is always in English.
Code: Select all
Steema.TeeChart.Editors.AskLanguage.ChangeLanguage(17);
Steema.TeeChart.Editors.AxisEditor s= new
Steema.TeeChart.Editors.AxisEditor(this.tChart.Axes.Custom[axisIndex],this);
Steema.TeeChart.Editors.EditorUtils.ShowFormModal(s,this);
How should I control the language of the AxisEditor?
All the best,
HotSteemar
-
Narcís
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
-
Contact:
Post
by Narcís » Tue Mar 08, 2005 11:14 am
Hi HotSteemar,
You should implement the code above for the Axis Editor.
Code: Select all
Steema.TeeChart.Editors.AskLanguage.ChangeLanguage(17);
Steema.TeeChart.Editors.AxisEditor s= new
Steema.TeeChart.Editors.AxisEditor(this.tChart1.Axes.Custom[0],this);
Steema.TeeChart.Editors.EditorUtils.Translate(s);
Steema.TeeChart.Editors.EditorUtils.ShowFormModal(s,this);