Search found 5 matches

by DjPete
Mon Aug 25, 2008 9:41 am
Forum: ActiveX
Topic: Gantt Chart - Count of number of items per month
Replies: 6
Views: 8400

Hiding the green bars can be accomplished by:

Code: Select all

TChart1.Series(1).asGantt.Pointer.Visible = False


:D

Any suggestions on how to improve this code?
by DjPete
Mon Aug 25, 2008 6:20 am
Forum: ActiveX
Topic: Gantt Chart - Count of number of items per month
Replies: 6
Views: 8400

Hiding the right-hand Y axis labels is accomplised with:

Code: Select all

TChart1.Axis.Custom(numVertAxis).Visible = False
So hiding the green bars is next...
by DjPete
Mon Aug 25, 2008 6:17 am
Forum: ActiveX
Topic: Gantt Chart - Count of number of items per month
Replies: 6
Views: 8400

Ok, I made a bit more progress - I added the following code:

Code: Select all

 .Axis.Top.Labels.Style = talText
Now the labels on the right-hand Y axis are repeated on the top axis (instead of the dates being shown).

Now I just need to hide the right axis labels and the green bars...
by DjPete
Fri Aug 22, 2008 1:13 pm
Forum: ActiveX
Topic: Gantt Chart - Count of number of items per month
Replies: 6
Views: 8400

Thank you for the reply. I have developed a test application, and I have so far managed to get it to show me the following: http://thumbnails6.imagebam.com/1172/6595ce11712606.gif This is the code I have used: Option Explicit Private Type DateList StartDate As String EndDate As String monthNo As Int...
by DjPete
Wed Aug 20, 2008 1:31 pm
Forum: ActiveX
Topic: Gantt Chart - Count of number of items per month
Replies: 6
Views: 8400

Gantt Chart - Count of number of items per month

I am adding Gantt bars with a start and end date that can span N number of months (not necessarily from the 1st to the end of the month). I also have an array that has, for each month (e.g. Jan 2008): 1) A count of the number of elements / Gantt bars that exist for that month (as long as that month ...