Annotation text size

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
asupriya
Advanced
Posts: 179
Joined: Mon Dec 01, 2008 12:00 am

Annotation text size

Post by asupriya » Tue Jul 06, 2010 5:34 am

Hi, How can set chat's Annotation tool's text size. I am using v3 and don't seem to have this property defined for annotation text at all.

Please help.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Annotation text size

Post by Sandra » Tue Jul 06, 2010 9:22 am

Hello asupriya,

If you want change size of Annotation Tools you should use property annotation1.Shapes.Font.Size. Please, see next example and check if it works as you want:

Code: Select all

 private Steema.TeeChart.Styles.Line line1;
        private Steema.TeeChart.Tools.Annotation an1;
        private void InitializeChart()
        {
            tChart1.Aspect.View3D=false;
            an1 = new Steema.TeeChart.Tools.Annotation(tChart1.Chart);
            line1 = new Steema.TeeChart.Styles.Line(tChart1.Chart);
            an1.Shape.Font.Size = 15;
            an1.Text = "TEECHART";
            line1.FillSampleValues();
        }
I hope will helps.
Best Regards,
Sandra Pazos / 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

Post Reply