Page 1 of 1

How do I dynamically align the subheader to left?

Posted: Wed Aug 11, 2004 3:58 pm
by 8877786
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.

Posted: Thu Aug 12, 2004 11:26 am
by Pep
Hi Unger,

how about using :

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