Updated API Flag (markdown)

Hannes Greule 2021-05-24 20:43:48 +02:00
parent f203eb0d89
commit b623032f37

@ -89,4 +89,4 @@ To register a flag, use:
# Adding a flag to a plot # Adding a flag to a plot
To add a flag to a plot, use `plot.addFlag(flagInstance)`. If you need a new flag instance, and only have the flag type, it is possible to add a flag using `plot.addFlag(GlobalFlagContainer.getInstance().getFlag(flagInstance).createFlagInstance(flagValue))` To add a flag to a plot, use `plot.setFlag(flagInstance)`. If you need a new flag instance, and only have the flag type, it is possible to add a flag using `plot.addFlag(GlobalFlagContainer.getInstance().getFlag(flagInstance).createFlagInstance(flagValue))`