Skip to contents

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()