Change default styles for plots.
set_styles(styles_df)
styles_df | data frame with columns 'fill' and 'stroke'. Rows represent subsequent styles which names can be passed to plotting functions, usually as styles argument. |
---|
No return value, called for side effects.
styles_df <- rbind( actual = c("rgb(64,64,64)", "rgb(64,64,64)"), previous = c("rgb(166,166,166)", "rgb(166,166,166)"), forecast = c("url(#diagonalHatch)", "rgb(64,64,64)"), plan = c("white", "rgb(64,64,64)"), total_white = c("white", "white") ) colnames(styles_df) <- c("fill", "stroke") set_styles(styles_df)