From b623032f3774d697b709b68af074d080f424114c Mon Sep 17 00:00:00 2001 From: Hannes Greule Date: Mon, 24 May 2021 20:43:48 +0200 Subject: [PATCH] Updated API Flag (markdown) --- API-Flag.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/API-Flag.md b/API-Flag.md index 5de7a4f..6075ecf 100644 --- a/API-Flag.md +++ b/API-Flag.md @@ -89,4 +89,4 @@ To register a flag, use: # 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))` \ No newline at end of file +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))` \ No newline at end of file