How to draw title of a legend on the right (along a legend)
Posted: Wed Apr 26, 2006 5:18 am
and rotated on 90 degrees. To look like title of axis.
Best regards, Rustam
Best regards, Rustam
Steema Software - Customer Support Forums
http://216.92.243.79/support/
Code: Select all
Private Sub TChart1_OnAfterDraw()
X = TChart1.Legend.ShapeBounds.Right + 5
Y = TChart1.Legend.ShapeBounds.Top + (TChart1.Legend.ShapeBounds.Bottom - TChart1.Legend.ShapeBounds.Top) / 1.5
TChart1.Canvas.RotateLabel X, Y, "Legend Title", 90
End Sub