View source: R/plot_user_waiver_budget.R
plot_user_waiver_budget | R Documentation |
Given the league ID and display name, plot the current waiver budget for the user (meaning total waiver budget available versus how much the user has remaining).
plot_user_waiver_budget(
league_id,
display_name,
title = "<b> Waiver Budget</b>",
tick_color = "black",
budget_total_line_color = "black",
fill_color = "lightgreen"
)
league_id |
League ID assigned by Sleeper (numeric). |
display_name |
Display name created by user (string). |
title |
Title for plot, which can include HTML formatting (string). |
tick_color |
Font color, name or hex, for display names (string). |
budget_total_line_color |
Line color for max budget, name or hex (string). |
fill_color |
Fill color for bar, name or hex (string). |
Returns a plot containing the waiver budget status.
Nick Bultman, njbultman74@gmail.com, January 2024
## Not run: plot_user_waiver_budget(688281863499907072, "njbultman74")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.