Hi, sorry to bug you again... I know how to use the AddGanttColor, and it's labels but what i have is somthing luke ths:
.AddGanttColor DateValue("1/1/2001"), DateValue("20/1/2001"), _ 1, "Machine1", vbRed
.AddGanttColor DateValue("5/1/2001"), DateValue("25/1/2001"), _ 1 "Machine1", vbRed
suppose i want to display a text to the user wich is Different!! on each of the parts that will be painted on the Gantt, (at the same vertical Axis and in the same series - i have just one....)
thank you agin...
sorry again... about the labels in Gantt- not my intention
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Emerald,
What do you exactly mean? You can use a string variable for each gantt bar instead of a fixed string. You can also access each bar mark doing something like this:
Regarding left axis labels please read Tutorial 4 - Axis Control on how to set up axes in TeeChart. You'll find the tutorials at TeeChart's program group.
What do you exactly mean? You can use a string variable for each gantt bar instead of a fixed string. You can also access each bar mark doing something like this:
Code: Select all
With TChart1.Series(0)
.FillSampleValues 10
.Marks.Visible = True
For i = 0 To TChart1.Series(0).Count - 1
.PointLabel(i) = "bar " & CStr(i + 1)
Next
End With
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 |