fixed bug multi

This commit is contained in:
pvictor 2020-04-29 18:24:39 +02:00
parent 8c471242f0
commit b9bc804e28
1 changed files with 4 additions and 1 deletions

View File

@ -217,7 +217,7 @@ multi_type <- function(x) {
"spline", "step", "scatter", "spline", "step", "scatter",
"bubble") "bubble")
if (isTRUE(x %in% multis)) { if (isTRUE(x %in% multis)) {
x correct_type(x)
} else { } else {
NULL NULL
} }
@ -292,6 +292,9 @@ config_line <- function(curve = "straight", datetime = FALSE) {
stroke = list( stroke = list(
curve = curve, curve = curve,
width = 2 width = 2
),
yaxis = list(
decimalsInFloat = 2
) )
) )
if (isTRUE(datetime)) { if (isTRUE(datetime)) {