Gantt Bar Height

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Pujol1986
Newbie
Newbie
Posts: 58
Joined: Thu Jan 29, 2009 12:00 am
Location: Barcelona
Contact:

Gantt Bar Height

Post by Pujol1986 » Tue Nov 15, 2011 5:10 pm

Hello,
I want to change the property "Height" of the bars in the gantt series.
How I cant do this by code?

Thanks in advance.


Image

Pujol1986
Newbie
Newbie
Posts: 58
Joined: Thu Jan 29, 2009 12:00 am
Location: Barcelona
Contact:

Re: Gantt Bar Height

Post by Pujol1986 » Thu Nov 17, 2011 8:23 am

Someone can help me?

Thanks in advance.

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

Re: Gantt Bar Height

Post by Sandra » Fri Nov 18, 2011 10:15 am

Hello Pujol1986,

If you want change the Height of gantt Series, you need change Pointer vertical size of it as do in next example of code:

Code: Select all

     private void InitializeChart()
        {
            Steema.TeeChart.Styles.Gantt gantt = new Gantt(tChart1.Chart);
            gantt.FillSampleValues();
            gantt.Pointer.VertSize = 10;
        }
I hope will helps.

Thanks,
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