show: Function to render SVG as bitmap, used only in tests

Description Usage Arguments Value Examples

View source: R/chart_utils.R

Description

Function to render SVG as bitmap, used only in tests

Usage

1
show(svg_string)

Arguments

svg_string

string containing SVG statements

Value

No return value, called for side effects

Examples

1
2
3
4
5
6
if(FALSE){

  df <- data.frame(x = c(1,2,3), y = c(4,5,6))

  column_chart(df, x = df$x, series = c("y")) %>% show()
}

tidycharts documentation built on Jan. 18, 2022, 5:07 p.m.