Skip to content

Commit

Permalink
rollback on RinteRface#12
Browse files Browse the repository at this point in the history
  • Loading branch information
Christophe-Regouby committed Dec 8, 2023
1 parent 0ea8aea commit 9d91ae6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions R/helpers-charts.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ create_calendar_chart <- function(
callback = NULL
) {

Date <- Freq <- Year <-NULL
Date <- Freq <- NULL

renderEcharts4r({
validate(need(nrow(calendar_data()) > 0, "No calendar data found ..."))
Expand All @@ -39,8 +39,6 @@ create_calendar_chart <- function(
max <- max(calendar_data$Freq)

calendar_chart <- calendar_data %>%
dplyr::mutate(Year = as.Date(Date, format = "%Y")) %>%
dplyr::group_by(Year) %>%
e_charts(Date) %>%
e_calendar(range = range) %>%
e_effect_scatter(Freq, coord_system = "calendar", legend = FALSE) %>%
Expand Down

0 comments on commit 9d91ae6

Please sign in to comment.