Show Weekends in a Gantt Chart

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
CCRyder
Newbie
Newbie
Posts: 19
Joined: Fri Aug 11, 2006 12:00 am
Location: Germany
Contact:

Show Weekends in a Gantt Chart

Post by CCRyder » Thu Apr 05, 2007 11:07 am

Hello,
I am designing a chart to show the workload for a specific shop for a complete month. I am using the top axis to display the first day to the last day of the month and I must color the weekends within the Gantt Chart so that they stand out from the normal working days.

Any Ideas??

Thanks!!
Regards,
CCRyder

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Apr 05, 2007 11:20 am

Hi CCRyder,

Would you like to have the axis labels for weekend in different color, the gantt bars or both?

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
Image Image Image Image Image Image
Instructions - How to post in this forum

CCRyder
Newbie
Newbie
Posts: 19
Joined: Fri Aug 11, 2006 12:00 am
Location: Germany
Contact:

Post by CCRyder » Thu Apr 05, 2007 11:31 am

Hi Narcis,
I have the dates on the Top Axis, the Gantt Bars are showing the work package that has to be performed on a specific day. What I would like to do is highlight the date on the Top Axis and also shade in the Column from the top axis of the chart to the bottom axis for this specific day so that it will be obvious if the work will fall on a Weekend.
Regards,
CCRyder

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Apr 05, 2007 11:43 am

Hi CCRyder,

To be able to set a different color for some specific labels you should use custom labels as shown in the All Features\Welcome!\Axes\Labels\Custom labels example at the new features demo.

Regarding the shaded column, I suggest you to use ColorBand tools. You'll find examples at All Features\Welcome!\Tools\Color Band in the features demo as well.

You'll find the demo at TeeChart's program group created by the binary installer.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

CCRyder
Newbie
Newbie
Posts: 19
Joined: Fri Aug 11, 2006 12:00 am
Location: Germany
Contact:

Post by CCRyder » Thu Apr 05, 2007 12:27 pm

OK Narcis I'll have a Look in the Examples again.

Have a Happy Easter!!
Regards,
CCRyder

Post Reply