e_single_axis | R Documentation |
Setup single axis.
e_single_axis(e, index = 0, ...)
e |
An |
index |
Index of axis to customise. |
... |
Any other option to pass, check See Also section. |
df <- data.frame(
axis = LETTERS[1:10],
value = runif(10, 3, 20),
size = runif(10, 3, 20)
)
df |>
e_charts(axis) |>
e_single_axis() |> # add the single axis
e_scatter(
value,
size,
coord_system = "singleAxis"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.