Commit 9fb12276 authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

v0.2.10.40 BUG: Y-axis color of precipitation time series is now white in the...

v0.2.10.40 BUG: Y-axis color of precipitation time series is now white in the model diagram panel of the GUI #23
parent a4dee305
Package: airGRteaching
Type: Package
Title: Teaching Hydrological Modelling with the GR Rainfall-Runoff Models ('Shiny' Interface Included)
Version: 0.2.10.39
Date: 2020-05-14
Version: 0.2.10.40
Date: 2020-05-25
Authors@R: c(
person("Olivier", "Delaigue", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-7668-8468"), email = "airGR@inrae.fr"),
person("Laurent", "Coron", role = c("aut"), comment = c(ORCID = "0000-0002-1503-6204")),
......
......@@ -4,7 +4,7 @@
### 0.2.10.39 Release Notes (2020-05-14)
### 0.2.10.40 Release Notes (2020-05-25)
#### New features
......
......@@ -766,8 +766,10 @@ shinyServer(function(input, output, session) {
dateEvent <- trunc(input$Event, units = "days")
}
op <- getPlotPar()$par
dgMDp <- dygraphs::dygraph(data.xts, group = "mod_diag", ylab = paste0("precip. [mm/", getPrep()$TMGR$TimeUnit, "]"))
dgMDp <- dygraphs::dyOptions(dgMDp, colors = col.Precip, drawXAxis = FALSE,
axisLabelColor = op$fg,
retainDateWindow = FALSE, useDataTimezone = TRUE)
dgMDp <- dygraphs::dyStackedBarGroup(dgMDp, name = rev(grep("^P", colnames(data.xts), value = TRUE)),
axis = "y", color = (col.Precip))
......
  • Not in "white" but in the foreground color (i.e. white for the Cyborg theme and black otherwise.

Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment