Delete tasks on Gantt

0 votes
asked Mar 6, 2019 in Wanted features by Marco
Would be nice to have the possibility to mark some tasks as "deleted" instead of normally completed to distinguish tasks that may possibly have been discarded, postponed or whatever.

1 Answer

0 votes
answered Mar 6, 2019 by plantuml (295,760 points)

Good idea!

Whith last beta http://beta.plantuml.net/plantuml.jar you can have

@startgantt
Project starts the 5th of november 2018
saturday are closed
sunday are closed
[Prototype design] lasts 3 weeks
then [Prototype completed]  lasts 5 days
then [Test prototype] lasts 5 days
[Prototype completed] is deleted
@endgantt

This is a first draft, so comment are welcome!

commented Jun 6 by Simon

Thanks for this! I couldn't find any definition of style for deleted tasks, e.g. I tried this:

<style>
ganttDiagram {
        task {
                deleted {
                    BackGroundColor c0c0c0
                    FontColor 838383
                }
        }
}
</style>

Am I missing something?

commented Jun 9 by The-Lu (70,400 points)

Hello S.,

You are right... Currently there are no style for that.

The colors are hardcoded, as mentioned on the current code:

That is now a wanted feature. wink

Regards,
Th.

...