Page 1 of 1

Default Font question

Posted: Wed May 13, 2009 7:12 am
by 9092401
Hi
Is there any way I can change the default font. I want everything to be Arial - labels, legend ,title , Marks etc.
I know how to change each one individually but is there a way I can do the change in one place so that by default all chart fonts (Labels, symbols Marks etc) will be created with the Arial font.
Where are the default fonts taken from ?
Thanks.

Posted: Wed May 13, 2009 10:13 am
by 10050769
Hello gcrnd,


For the moment is not possible to change the default font for all elements of chart at once. But, you can change, font of labels, legend, title, Marks etc. individually, for all elements using property Font.Name="name of font", for example:

Code: Select all

            box1.Marks.Font.Name = "Times New Roman";
            tChart1.Legend.Font.Name = "Times New Roman";
            tChart1.Header.Font.Name = "Times New Roman";

Also, I have added your request to the wish-list to be considered for inclusion in future releases.

Thanks,

Posted: Wed May 13, 2009 11:02 am
by 9092401
Hi Sandra
Ok thanks. I will handle it individually and YES , I think it will be excellent if in the future there would be such a possibility . Its only natural to want to work with the same font all over.

Re: Default Font question

Posted: Wed Jun 06, 2012 11:13 am
by narcis
Hi qcrnd,

As an update, you can already do that using DefaultFontName property, for example:

Code: Select all

      Steema.TeeChart.Texts.DefaultFontName = "Arial";