Description Usage Arguments Value
Annotation for Piechart Functions to draw axis, rect and so on.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | anno_x_axis(
range,
breaks = NULL,
labels = NULL,
r = 0.5,
start = 120,
end = 0,
dtick = "inside",
ltick = 0.02,
lcol = "black",
lsize = 0.5,
dtext = "inside",
tcol = "black",
tsize = 3.5,
facing = "binding",
nice_facing = TRUE,
gap = 0.02,
...
)
anno_y_axis(
range,
breaks = NULL,
labels = NULL,
r0 = 0.5,
r1 = 1,
angle = 90,
dtick = "left",
ltick = 1,
lcol = "black",
lsize = 0.5,
dtext = "left",
tcol = "black",
tsize = 3.5,
gap = 1,
...
)
anno_rect(r0 = 0.5, r1 = 1, start = 90, end = 270, ...)
|
range |
origin range of data. |
breaks |
the points at which tick-marks are to be drawn. |
labels |
a character or expression vector of labels to be placed at the tickpoints. |
r, r0, r1 |
positive value. |
dtick, dtext |
direction of ticks and labels. |
ltick |
length of ticks. |
lcol, lsize |
axis's colour and line width. |
tcol, tsize |
label's colour and size. |
facing |
one of clockwise, binding or normal. |
nice_facing |
logical value. |
gap |
gap between ticks and labels. |
... |
extra parameters. |
angle, start, end |
the angle in radians. |
a gg object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.