Learn R Programming

vchartr (version 0.1.4)

v_specs_player: Set player options

Description

Set player options

Usage

v_specs_player(vc, ...)

Value

A vchart()

htmlwidget object.

Arguments

vc

An htmlwidget created with vchart().

...

Options for the legend, see examples or online documentation.

Examples

Run this code

library(vchartr)

world_electricity %>% 
  subset(type == "detail") %>% 
  vchart() %>%
  v_bar(
    aes(source, generation, player = year)
  )


Run the code above in your browser using DataLab