e_draft: Draft

View source: R/graphic.R

e_draftR Documentation

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 or a proxy as returned by echarts4rProxy.

text

Text to display.

size

Font size of text.

opacity, color

Opacity and color of text.

Examples

cars |>
  e_charts(speed) |>
  e_scatter(dist) |>
  e_draft()

echarts4r documentation built on July 9, 2023, 7:26 p.m.