Page 1 of 1
Localizable AxisTitle .
Posted: Mon Nov 17, 2008 2:11 pm
by 9092401
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.
Posted: Tue Nov 18, 2008 11:25 am
by narcis
Hi Ryan,
I've added your request to the wish-list to be considered for inclusion in next releases.
Posted: Tue Nov 18, 2008 12:17 pm
by 9092401
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.
Posted: Tue Nov 18, 2008 12:31 pm
by narcis
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
Posted: Tue Nov 18, 2008 3:36 pm
by 9092401
Hi Narcis
Understood thanks.
I will be happy if its on the wish list.
Thanks.