Question related to 'Working with Resources' feature in Gantt charts

0 votes
asked Dec 24, 2021 in Question / help by eszasdwer (140 points)
In the 'Working with Resources' function of the Gantt chart, assuming that all participants are participating in each task, is it possible to remove the resource mark of the participant in the task's content?

1 Answer

+2 votes
answered Jan 1, 2022 by plantuml (294,960 points)
selected Jan 4, 2022 by eszasdwer
 
Best answer

Let's take this example.

Which part would you like to remove?

Thanks!

commented Jan 3, 2022 by eszasdwer (140 points)
Thank you for answer.

I want to clear the name and resource percentage from the task bar of the picture.

  I want it to be Task1, not Task1 {Alice}.

I want it to be Task2, not Task2 {Bob 50%}.

thank you!
commented Jan 3, 2022 by plantuml (294,960 points)

The most difficult is to find some appropriate syntax :-)

With last online version, you can have:

@startgantt
hide ressources names
[Task1] on {Alice} lasts 10 days
[Task2] on {Bob:50%} lasts 2 days
then [Task3] on {Alice:25%} lasts 1 days
@endgantt

We are not 100% satisfied with the syntax. But is this what you are looking for ?

commented Jan 3, 2022 by The-Lu (63,920 points)

Hello PlantUML team,

Thanks for this enhancement.

And on the same topic:

  • How to change font, size, colour, etc. of the resources on the bottom of the diagram?
  • Then could you add a new command like hide ressources footbox in order to hide the resource footbox on the bottom?

Thanks for your works.
Regards,
Th.

commented Jan 3, 2022 by plantuml (294,960 points)

You can now have hide ressources footbox.

About changing font/size/colour of the ressources on the bottom of the diagram, it's not a top priority for us. Actually, giving some suggestions for CSS syntax may help us :-)

commented Jan 3, 2022 by The-Lu (63,920 points)

Thanks for this new enhancement.

I will search, but it is not urgent, some CSS names for resources on the bottom of the diagram...

Regards,
Th.

commented Jan 4, 2022 by eszasdwer (140 points)

This is the feature I was looking for!
However, the following error occurs in the local version, not the online version.

#java -jar plantuml-1.2021.16.jar test.puml
Error line 2 in file: test.puml
Some diagram description contains errors

PlantUML 1.2021.16

[From string (line2) ]

@startgantt

hide ressources names

Syntax Error?



Is this feature not available in the local version?

commented Jan 4, 2022 by plantuml (294,960 points)
You will find this feature in last snapshot https://github.com/plantuml/plantuml/releases/tag/snapshot
commented Jan 4, 2022 by eszasdwer (140 points)

Wow! Thank you so much for the quick and kind reply! yes

...