Localizable AxisTitle .

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
qcrnd
Advanced
Posts: 214
Joined: Mon Sep 04, 2006 12:00 am

Localizable AxisTitle .

Post by qcrnd » Mon Nov 17, 2008 2:11 pm

Hi
I would like the Font in the Axes.Bottom.Title to be localizable and stored in the resx. so that external parties can edit the resx and change font settings . I see that the AxisTitle is Localizable true however when I change the values of the title and the Title.Font, the change are done in the designer.cs code and not in the resx file.
My Form is localizable true.
other values are stored in the resx like tChart1.Size or tChart.Name

Please help.
Thanks
Ryan.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Nov 18, 2008 11:25 am

Hi Ryan,

I've added your request to the wish-list to be considered for inclusion in next releases.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

qcrnd
Advanced
Posts: 214
Joined: Mon Sep 04, 2006 12:00 am

Post by qcrnd » Tue Nov 18, 2008 12:17 pm

Hi Narcis
1. the thing is that I dont understand why it doesnt work becuase I see that AxisTitle is defined with the localizable attribute ,
Any idea why it doesnt work.

I got this from the metadata file of the tchar definintion.
[Description("Title attributes.")]
[Category("Axis")]
[DesignerSerializationVisibility(2)]
[Localizable(true)]
public AxisTitle Title { get; }


2. ALSO regarding the AxisTitle.Font . for exampleChart.Axes.Bottom.Title.Font I noticed that by default it is Arial size 8 . Is this something hard coded that will be the same on all operation systems in all languages if I dont change the default , or is it dependant on the system and if so , HOW ?

Thanks.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Nov 18, 2008 12:31 pm

Hi qcrnd,
1. the thing is that I dont understand why it doesnt work becuase I see that AxisTitle is defined with the localizable attribute ,
Any idea why it doesnt work.

I got this from the metadata file of the tchar definintion.
[Description("Title attributes.")]
[Category("Axis")]
[DesignerSerializationVisibility(2)]
[Localizable(true)]
public AxisTitle Title { get; }
Yes, axis title is set as localizable but its Font (Steema.TeeChart.Drawing.ChartFont) isn't. I guess this is the problem.
2. ALSO regarding the AxisTitle.Font . for exampleChart.Axes.Bottom.Title.Font I noticed that by default it is Arial size 8 . Is this something hard coded that will be the same on all operation systems in all languages if I dont change the default , or is it dependant on the system and if so , HOW ?
ChartFont uses System.Windows.Forms.Control.DefaultFont. If you look at its description below you'll see it varies depending on the user's operating system and the local culture setting of their system.

http://msdn.microsoft.com/en-us/library ... tfont.aspx
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

qcrnd
Advanced
Posts: 214
Joined: Mon Sep 04, 2006 12:00 am

Post by qcrnd » Tue Nov 18, 2008 3:36 pm

Hi Narcis
Understood thanks.
I will be happy if its on the wish list.
Thanks.

Post Reply