Gantt: Hyperlinks

+1 vote
asked Feb 21, 2020 in Wanted features by Peter Reznikov
Hi! I'd love to have ability to set hyperlinks for tasks in Gantt chart, thus make then clickable.

1 Answer

0 votes
answered Feb 21, 2020 by plantuml (295,000 points)

Nice idea !

So with last beta http://beta.plantuml.net/plantuml.jar

You can now have :

@startgantt
[task1] lasts 10 days
[task1] links to [[http://plantuml.com]]
@endgantt

This has not been widely tested, so any feedback is welcome.

Thanks!

commented Feb 25, 2020 by Peter Reznikov
Seems to work as expected, thank you!

Looking forward to see that feature in stable release.
commented Aug 24, 2020 by anonymous
Hi there

I'm probably missing something, but I can't use it on the example https://plantuml.com/fr/gantt-diagram#4026bdc02b3c0aad and can't make it work either on my side.... :(
commented Aug 11, 2021 by wyper (100 points)
Have to tried to add the "!PLANTUML_JAVASCRIPT_UNSECURE=true" to your PlantUML file?
commented Aug 2, 2023 by anonymous
Is there a way to make the link open in a new window by default?
commented Aug 3, 2023 by The-Lu (64,340 points)
Hi A., and all,

> Is there a way to make the link open in a new window by default?

For that, and if your output is SVG, you can see:
- https://forum.plantuml.net/16209/use-url-target-_blank?show=16209#q16209
- https://forum.plantuml.net/16636/add-ability-to-specify-target-in-links?show=16636#q16636

Regards,
Th.
...