cancel
Showing results for 
Search instead for 
Did you mean: 

Gantt Chart Legend

Former Member
0 Kudos

Hi,

I'm currently working on a gantt chart and facing problem with the legend. I couldn't modify the legend accordingly. I have tried using the codes from <a href="http://help.sap.com/saphelp_nw04/helpdata/en/a8/1cd93f5e0f9015e10000000a155106/frameset.htm">Help</a> but I just couldn't produce my own legend. I would very much appreciate if any gurus can help me with the coding part. Currently the legend will take the label name from Series-> label.

Thanks in advance.

Joanne

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Here's the <a href="http://i10.photobucket.com/albums/a110/joanne_hy/gantt_SS.gif">screen shot</a>. I hope it will explain what I want more clearly with screen shots.

kai_gutenkunst
Active Contributor
0 Kudos

Hi,

as I wrote in your previous thread the behaviour depends on the Gantts property UseCategories. This also influences the legend.

If UseCategories is true:

the legend displays the labels of the series; additionally it can display point customizing (set Legend.MoreInfo = true and provide a Caption in your point customizing).

If UseCategories is fals:

the legend does not display series labels; if you set the MoreInfo of the legend to true it will display all Captions of all point customizing (even the ones that are not referenced by your data!).

Regards, Kai