Skip to content

Commit

Permalink
renders
Browse files Browse the repository at this point in the history
  • Loading branch information
fabkury committed Dec 2, 2022
1 parent a02cadb commit 1f1f625
Show file tree
Hide file tree
Showing 2 changed files with 328 additions and 1,314 deletions.
6 changes: 0 additions & 6 deletions R/phea.R
Original file line number Diff line number Diff line change
Expand Up @@ -780,12 +780,6 @@ phea_plot <- function(board, pid, plot_title = NULL, exclude = NULL, verbose = N
range_start <- min(chart_data$value, na.rm = TRUE)
range_end <- max(chart_data$value, na.rm = TRUE)

ramge_length <- range_end - range_start

# Add margins to the range
range_start <- range_start - range_length/25
range_end <- range_start + range_length/25

res_plot <- chart_data |>
plotly::plot_ly(x = ~ts) |>
plotly::add_lines(y = ~value,
Expand Down
Loading

0 comments on commit 1f1f625

Please sign in to comment.