Bearloga has uploaded a new change for review.

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

Change subject: Add date-axis padding to see A1 annotation
......................................................................

Add date-axis padding to see A1 annotation

Change-Id: I5a253a3d63a224b3b3f3abb7e31c87cba9c40aae
---
M server.R
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/discovery/prince 
refs/changes/73/306973/1

diff --git a/server.R b/server.R
index a7ddc7d..52c4911 100644
--- a/server.R
+++ b/server.R
@@ -344,6 +344,7 @@
                 logscale = input$s_response == "clicks" && input$s_type == 
"count" && input$s_logscale) %>%
       dyLegend(width = 400, labelsDiv = "s_legend", show = "always", 
showZeroValues = FALSE) %>%
       dyCSS(css = "www/inverse.css") %>%
+      dyAxis("x", rangePad = 8) %>%
       dyEvent(as.Date("2015-11-18"), "A1 (Started EL)", labelLoc = "bottom", 
color = "white") %>%
       dyEvent(as.Date("2016-03-10"), "Search Box Deployed", labelLoc = 
"bottom", color = "white") %>%
       dyEvent(as.Date("2016-05-10"), "A2 (Unfiltered Counts)", labelLoc = 
"bottom", color = "white") %>%
@@ -489,6 +490,7 @@
                       retainDateWindow = TRUE) %>%
       dyOptions(strokeWidth = 3, labelsKMB = TRUE, drawPoints = FALSE, 
pointSize = 3, includeZero = TRUE,
                 logscale = input$lv_logscale && input$lv_type == "count") %>%
+      dyAxis("x", rangePad = 8) %>%
       dyLegend(width = 400, labelsDiv = "lv_legend", show = "always", 
showZeroValues = FALSE) %>%
       dyCSS(css = "www/inverse.css") %>%
       dyEvent(as.Date("2015-11-18"), "A1 (Started EL)", labelLoc = "bottom", 
color = "white") %>%

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5a253a3d63a224b3b3f3abb7e31c87cba9c40aae
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/discovery/prince
Gerrit-Branch: master
Gerrit-Owner: Bearloga <mpo...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to