Learn R Programming

echarts4r (version 0.2.0)

e_draft: Draft

Description

Add a draft watermark to your graph.

Usage

e_draft(e, text = "DRAFT", size = "120px", opacity = 0.4,
  color = "#d3d3d3")

Arguments

e

An echarts4r object as returned by e_charts.

text

Text to display.

size

Font size of text.

opacity, color

Opacity and color of text.

Examples

Run this code
# NOT RUN {
cars %>% 
  e_charts(speed) %>% 
  e_scatter(dist) %>%
  e_draft()

# }

Run the code above in your browser using DataLab