Spin Gridband 90° ?

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Torte
Newbie
Newbie
Posts: 19
Joined: Fri Sep 16, 2005 4:00 am

Spin Gridband 90° ?

Post by Torte » Wed Aug 02, 2006 11:44 am

Hello,

i want to hardcode implement the alignment change of the gridband like the option in the build-in editor but i just cant find any way to set the correct properties.

i want from this :
Image

NOT via :

Image
(the same thing but in codelines)

to :

Image


Any ideas ?

Regards,

Rob

stark
Newbie
Newbie
Posts: 10
Joined: Wed Jul 26, 2006 12:00 am
Location: Girona / Catalunya

Post by stark » Wed Aug 02, 2006 2:31 pm

Hello Rob,

this should work:

Code: Select all

Steema.TeeChart.Tools.GridBand gridBand1 = new_ Steema.TeeChart.Tools.GridBand();
        
        tChart1.Tools.Add(gridBand1);             
        gridBand1.Axis = tChart1.Axes.Bottom;

        gridBand1.Band1.Color = Color.AliceBlue;
        gridBand1.Band2.Color = Color.Bisque;
Best regards
Alex

Steema Crew

Post Reply