We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a8cc53 commit 68f7b72Copy full SHA for 68f7b72
1 file changed
examples/chartgpu_serie.R
@@ -17,3 +17,37 @@ data.frame(
17
color = "#b22222",
18
lineStyle = list(width = 4)
19
)
20
+
21
+# You can pass data through chartgpu_serie
22
+chartgpu() |>
23
+ chartgpu_serie(
24
+ name = "sin",
25
+ label = "Sine",
26
+ color = "#228B22",
27
+ data = data.frame(
28
+ x = seq(-3, 7, by = 1/8),
29
+ sin = sin(seq(-3, 7, by = 1/8))
30
+ )
31
32
33
+# With 2 series
34
35
36
37
38
39
40
41
42
43
+ ) |>
44
45
+ name = "cos",
46
+ label = "Cosine",
47
+ color = "#b22222",
48
+ type = "area",
49
50
51
+ cos = cos(seq(-3, 7, by = 1/8))
52
53
0 commit comments