How do I dynamically align the subheader to left?

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Unger
Newbie
Newbie
Posts: 6
Joined: Sat Dec 06, 2003 5:00 am
Location: NY
Contact:

How do I dynamically align the subheader to left?

Post by Unger » Wed Aug 11, 2004 3:58 pm

Hi,
I'm trying to align in VS.NET the web chart subheader on left side dynamically. I can do this on the design time by going to the subheader (...) and on the popup window (Title Editor) on style tab I can specify the alignment to left, center or right.

Now is there a way I can do this alignment dynamically at runtime from ASP.NET code. I can see the Chart.Subheader.Alignment which can be aligned to center, far, near but I can't figure out a way to align it to left.

Thanks
Unger.

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Thu Aug 12, 2004 11:26 am

Hi Unger,

how about using :

tChart1.SubHeader.Alignment = System.Drawing.StringAlignment.Near;

Post Reply