Skip to content

Commit

Permalink
remove builtin theme
Browse files Browse the repository at this point in the history
  • Loading branch information
pvictor committed Oct 23, 2024
1 parent cd2155d commit 81d4574
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 44 deletions.
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ export(v_specs_player)
export(v_specs_tooltip)
export(v_sunburst)
export(v_theme)
export(v_theme_builtin)
export(v_treemap)
export(v_venn)
export(v_waterfall)
Expand Down
2 changes: 1 addition & 1 deletion R/theme.R
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ v_theme <- function(vc,
#' @param name Name of the theme to use, see [available themes online](https://www.visactor.io/vchart/guide/tutorial_docs/Theme/Theme_Extension).
#'
#' @return A [vchart()] `htmlwidget` object.
#' @export
#' @noRd
#'
#' @example examples/theme_builtin.R
v_theme_builtin <- function(vc, name) {
Expand Down
4 changes: 3 additions & 1 deletion examples/vmap.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ if (rlang::is_installed(c("sf", "geojsonio"))) {
)
) %>%
v_specs_legend(
orient = "bottom"
orient = "bottom",
type = "color",
field = "fill"
)

# Map discrete data
Expand Down
40 changes: 0 additions & 40 deletions man/v_theme_builtin.Rd

This file was deleted.

4 changes: 3 additions & 1 deletion man/vmap.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 81d4574

Please sign in to comment.