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.
Localizable AxisTitle .
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Ryan,
I've added your request to the wish-list to be considered for inclusion in next releases.
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 |
Instructions - How to post in this forum |
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.
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.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi qcrnd,
http://msdn.microsoft.com/en-us/library ... tfont.aspx
Yes, axis title is set as localizable but its Font (Steema.TeeChart.Drawing.ChartFont) isn't. I guess this is the problem.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; }
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.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 ?
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 |
Instructions - How to post in this forum |