Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
HYCAR-Hydro
airGRteaching
Commits
162fc476
Commit
162fc476
authored
Oct 09, 2017
by
unknown
Browse files
v0.1.8.1 Psol et Pliq bars are reversed in dyplot.default
parent
127d742e
Changes
2
Hide whitespace changes
Inline
Side-by-side
DESCRIPTION
View file @
162fc476
Package: airGRteaching
Package: airGRteaching
Type: Package
Type: Package
Title: Tools to Simplify the Use of the airGR Hydrological Package for Education (Including a Shiny Interface)
Title: Tools to Simplify the Use of the airGR Hydrological Package for Education (Including a Shiny Interface)
Version: 0.1.8.
0
Version: 0.1.8.
1
Date: 2017-10-0
5
Date: 2017-10-0
9
Authors@R: c(person("Olivier", "Delaigue", role = c("aut", "cre"), email = "airGR@irstea.fr"), person("Laurent", "Coron", role = c("aut")), person("Pierre", "Brigode", role = c("aut")), person("Guillaume", "Thirel", role = c("ctb")))
Authors@R: c(person("Olivier", "Delaigue", role = c("aut", "cre"), email = "airGR@irstea.fr"), person("Laurent", "Coron", role = c("aut")), person("Pierre", "Brigode", role = c("aut")), person("Guillaume", "Thirel", role = c("ctb")))
Depends: airGR (>= 1.0.9.43)
Depends: airGR (>= 1.0.9.43)
Imports: xts, dygraphs (>= 1.1.1.4), shiny, shinyjs, plotrix, markdown
Imports: xts, dygraphs (>= 1.1.1.4), shiny, shinyjs, plotrix, markdown
...
...
R/dyplot.default.R
View file @
162fc476
...
@@ -89,7 +89,7 @@ dyplot.default <- function(x, Qsup = NULL, Qsup.name = "Qsup",
...
@@ -89,7 +89,7 @@ dyplot.default <- function(x, Qsup = NULL, Qsup.name = "Qsup",
dg
<-
dygraphs
::
dySeries
(
dygraph
=
dg
,
name
=
"Qobs"
,
axis
=
'y'
,
color
=
col.Q
[
1L
],
drawPoints
=
TRUE
)
dg
<-
dygraphs
::
dySeries
(
dygraph
=
dg
,
name
=
"Qobs"
,
axis
=
'y'
,
color
=
col.Q
[
1L
],
drawPoints
=
TRUE
)
dg
<-
dygraphs
::
dySeries
(
dygraph
=
dg
,
name
=
"Qsim"
,
axis
=
'y'
,
color
=
col.Q
[
2L
])
dg
<-
dygraphs
::
dySeries
(
dygraph
=
dg
,
name
=
"Qsim"
,
axis
=
'y'
,
color
=
col.Q
[
2L
])
dg
<-
dygraphs
::
dySeries
(
dygraph
=
dg
,
name
=
"Qsup"
,
axis
=
'y'
,
color
=
col.Q
[
3L
],
label
=
Qsup.name
,
strokePattern
=
"dashed"
)
dg
<-
dygraphs
::
dySeries
(
dygraph
=
dg
,
name
=
"Qsup"
,
axis
=
'y'
,
color
=
col.Q
[
3L
],
label
=
Qsup.name
,
strokePattern
=
"dashed"
)
dg
<-
dygraphs
::
dyStackedBarGroup
(
dygraph
=
dg
,
name
=
grep
(
"^P"
,
colnames
(
data.xts
),
value
=
TRUE
),
axis
=
"y2"
,
color
=
rev
(
col.Precip
))
dg
<-
dygraphs
::
dyStackedBarGroup
(
dygraph
=
dg
,
name
=
rev
(
grep
(
"^P"
,
colnames
(
data.xts
),
value
=
TRUE
)
)
,
axis
=
"y2"
,
color
=
(
col.Precip
))
dg
<-
dygraphs
::
dyAxis
(
dygraph
=
dg
,
name
=
"y"
,
label
=
ylab
[
1L
],
dg
<-
dygraphs
::
dyAxis
(
dygraph
=
dg
,
name
=
"y"
,
label
=
ylab
[
1L
],
valueRange
=
range
(
data.xts
[,
grep
(
"^Q"
,
colnames
(
data.xts
))],
na.rm
=
TRUE
)
*
c
(
0.01
,
1.59
))
valueRange
=
range
(
data.xts
[,
grep
(
"^Q"
,
colnames
(
data.xts
))],
na.rm
=
TRUE
)
*
c
(
0.01
,
1.59
))
dg
<-
dygraphs
::
dyAxis
(
dygraph
=
dg
,
name
=
"y2"
,
label
=
ylab
[
2L
],
independentTicks
=
FALSE
,
dg
<-
dygraphs
::
dyAxis
(
dygraph
=
dg
,
name
=
"y2"
,
label
=
ylab
[
2L
],
independentTicks
=
FALSE
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment