Page 1 of 1

Move custom axis labels

Posted: Tue Mar 31, 2009 12:41 pm
by 13048624
Hi support team,

we are using a custom X-axis with datetime-values. The labels are rotated (using the CustomAxis.Labels.Angle property). Now we want to move the labels a bit away from the bottom axis.

You told us about bug [TF02013670] - if it is not possible to move the Labels.Items easily, you told us already a solution: Create a bunch of annotations and copy all properties. But in this case, how can we rotate these annotations ?

With regards,
Chris

Posted: Tue Mar 31, 2009 3:12 pm
by narcis
Hi Chris,

I'm afraid Annotation tool doesn't support rotation. In that case I recommend you to try using RotateLabel method instead, for example:

Code: Select all

			tChart1.Graphics3D.RotateLabel(x, y, text, rotDegree);