Skip to content

Commit 29c5ed1

Browse files
authored
examples for chartgpu_options()
1 parent c00893a commit 29c5ed1

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

examples/chartgpu_options.R

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Specify any options
2+
3+
chartgpu(ggplot2::economics, aes(date, psavert)) |>
4+
chartgpu_options(
5+
animation = FALSE,
6+
yAxis = list(name = "personal savings rate")
7+
)
8+
9+
scattergpu(cars) |>
10+
chartgpu_options(
11+
theme = "light",
12+
tooltip = list(trigger = "axis")
13+
)

0 commit comments

Comments
 (0)