Page 1 of 1

Annotation text size

Posted: Tue Jul 06, 2010 5:34 am
by 13051032
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.

Re: Annotation text size

Posted: Tue Jul 06, 2010 9:22 am
by 10050769
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.