Bearloga has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/266298

Change subject: Fix annotation bug
......................................................................

Fix annotation bug

Bug: https://phabricator.wikimedia.org/T124685
Change-Id: I65036fa94627e19981c0f081aeeca6d6b41503de
---
M server.R
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/discovery/wetzel 
refs/changes/98/266298/1

diff --git a/server.R b/server.R
index 9551731..14edc05 100644
--- a/server.R
+++ b/server.R
@@ -35,13 +35,13 @@
       dyLegend(labelsDiv = "tiles_summary_series_legend", show = "always") %>%
       dyAnnotation(as.Date("2015-09-17"), text = "A",
                    tooltip = "Maps launch announcement",
-                   width = 10, height = 20, attachAtBottom = FALSE, series = 
"total users") %>%
+                   width = 10, height = 20, attachAtBottom = FALSE, series = 
grep('total', names(temp), value = TRUE)) %>%
       dyAnnotation(as.Date("2016-01-08"), text = "B",
                    tooltip = "Maps launched on en.wikipedia.org",
-                   width = 10, height = 20, attachAtBottom = FALSE, series = 
"total users") %>%
+                   width = 10, height = 20, attachAtBottom = FALSE, series = 
grep('total', names(temp), value = TRUE)) %>%
       dyAnnotation(as.Date("2016-01-12"), text = "C",
                    tooltip = "Maps launch on en.wikipedia.org reverted on the 
9th; caches begin to clear",
-                   width = 10, height = 20, attachAtBottom = FALSE, series = 
"total users")
+                   width = 10, height = 20, attachAtBottom = FALSE, series = 
grep('total', names(temp), value = TRUE))
   })
   
   output$tiles_style_series <- renderDygraph({

-- 
To view, visit https://gerrit.wikimedia.org/r/266298
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I65036fa94627e19981c0f081aeeca6d6b41503de
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/discovery/wetzel
Gerrit-Branch: master
Gerrit-Owner: Bearloga <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to