Skip to content

Commit

Permalink
Integrate the data_area_fill_color option
Browse files Browse the repository at this point in the history
  • Loading branch information
rich-iannone committed Jan 13, 2024
1 parent 6d21fb9 commit a2c2a63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/utils_plots.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ generate_nanoplot <- function(
data_point_fill_color = "#FF0000",
data_line_stroke_color = "#4682B4",
data_line_stroke_width = 8,
data_area_fill_color = "#FF0000",
data_bar_stroke_color = "#3290CC",
data_bar_stroke_width = 4,
data_bar_fill_color = "#3FB5FF",
Expand Down Expand Up @@ -1856,7 +1857,7 @@ generate_nanoplot <- function(
paste0(
"<path class=\"pattern-line\" ",
"d=\"M 0,8 l 8,-8 M -1,1 l 4,-4 M 6,10 l 4,-4\" ",
"stroke=\"red\" ",
"stroke=\"", data_area_fill_color, "\" ",
"stroke-width=\"1.5\" ",
"stroke-linecap=\"round\" ",
"shape-rendering=\"geometricPrecision\"",
Expand Down

0 comments on commit a2c2a63

Please sign in to comment.