annotations: Annotation settings for g2plot

Description Usage Arguments

Description

Annotation settings for g2plot

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
annotations(
  gWidget,
  type = c("text", "line", "image", "region", "dataMarker", "dataRegion",
    "regionFilter", "shape", "html"),
  position = c(NA, NA),
  animate = FALSE,
  autoAdjust = TRUE,
  style = NULL,
  start = NULL,
  end = NULL,
  src = NULL,
  content = NULL,
  rotate = NULL,
  maxLength = NULL,
  autoEllipsis = TRUE,
  lineLength = NULL,
  container = NULL,
  html = NULL,
  offsetX = NULL,
  offsetY = NULL,
  alignX = NULL,
  alignY = NULL,
  color = NULL
)

Arguments

type

图形标注类型

position

标注位置.

animate

是否进行动画.

autoAdjust

文本超出绘制区域时,是否自动调节文本方向.

src

图片路径

content

文本内容


GOUYONGCHAO/g2plot documentation built on March 31, 2021, 1:49 p.m.