Annotation settings for g2plot
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
)
|
type |
图形标注类型 |
position |
标注位置. |
animate |
是否进行动画. |
autoAdjust |
文本超出绘制区域时,是否自动调节文本方向. |
src |
图片路径 |
content |
文本内容 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.