e_draft: Draft

Description Usage Arguments Examples

View source: R/graphic.R

Description

Add a draft watermark to your graph.

Usage

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

Arguments

e

An echarts4r object as returned by e_charts or a proxy as returned by echarts4rProxy.

text

Text to display.

size

Font size of text.

opacity, color

Opacity and color of text.

Examples

1
2
3
4
cars |>
  e_charts(speed) |>
  e_scatter(dist) |>
  e_draft()

JohnCoene/echarts4 documentation built on July 27, 2021, 5:20 p.m.