Using the shape series the text array draws the text in the wrong position.
Dim RollShape As New Steema.TeeChart.Styles.Shape(DefectsTChart.Chart)
RollShape.Color = Color.Aqua
RollShape.Font.Color = Color.Blue
RollShape.Font.Bold = True
RollShape.Font.Name = "Tahoma"
RollShape.Pen.Width = 2
RollShape.Transparent = True
RollShape.ShowInLegend = False
RollShape.Style = Steema.TeeChart.Styles.ShapeStyles.Rectangle
RollShape.X0 = prevWidth - rollBtn.RollWidth
RollShape.X0 = prevWidth
RollShape.Y1 = prevLength
RollShape.Y0 = prevLength + rollBtn.RollLength
Dim strArray(1) As String
strArray(0) = rollBtn.Text
strArray(1) = rollBtn.CullCode + " " + rollBtn.Destination
RollShape.Text = strArray
The rectangles draw correctly, but the text x position is wrong (the y is correct).
Shape Series Text Position Problem
-
- Newbie
- Posts: 3
- Joined: Mon Oct 02, 2006 12:00 am
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi dbdevelopers,
Could you please send us an example we can run "as-is" to reproduce the problem here? You can post your files at news://www.steema.net/steema.public.attachments newsgroup.
Thanks in advance.
Could you please send us an example we can run "as-is" to reproduce the problem here? You can post your files at news://www.steema.net/steema.public.attachments newsgroup.
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Newbie
- Posts: 3
- Joined: Mon Oct 02, 2006 12:00 am