From b9bc804e286350b5f4120a79b658dde2384740ce Mon Sep 17 00:00:00 2001 From: pvictor Date: Wed, 29 Apr 2020 18:24:39 +0200 Subject: [PATCH] fixed bug multi --- R/apex.R | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/R/apex.R b/R/apex.R index 0ea3038..506e060 100644 --- a/R/apex.R +++ b/R/apex.R @@ -217,7 +217,7 @@ multi_type <- function(x) { "spline", "step", "scatter", "bubble") if (isTRUE(x %in% multis)) { - x + correct_type(x) } else { NULL } @@ -292,6 +292,9 @@ config_line <- function(curve = "straight", datetime = FALSE) { stroke = list( curve = curve, width = 2 + ), + yaxis = list( + decimalsInFloat = 2 ) ) if (isTRUE(datetime)) {