From 51abdca4d75de577977b200a6508b600c503902c Mon Sep 17 00:00:00 2001 From: pvictor Date: Sat, 11 Dec 2021 17:58:55 +0000 Subject: [PATCH] Built site for apexcharter: 0.3.0.9000@3f1bb50 --- articles/apexcharter.html | 78 +++++++++--------- articles/extra/advanced-configuration.html | 16 ++-- articles/extra/chart-options.html | 72 ++++++++-------- articles/extra/facets.html | 50 +++++------ articles/extra/shiny-integration.html | 24 +++--- articles/extra/spark-box.html | 8 +- articles/extra/sync-charts.html | 12 +-- deps/bootstrap-5.1.0/bootstrap.min.css | 2 +- deps/bootstrap-5.1.0/font.css | 21 +++++ ...txg8zYS_SKggPN4iEgvnHyvveLxVs9pbCIPrc.woff | Bin 0 -> 26128 bytes ...txg8zYS_SKggPN4iEgvnHyvveLxVvaorCIPrc.woff | Bin 0 -> 25804 bytes .../fonts/4iCs6KVjbNBYlgo6ew.woff | Bin 0 -> 133368 bytes .../fonts/4iCs6KVjbNBYlgoKfw7w.woff | Bin 0 -> 39164 bytes .../fonts/4iCv6KVjbNBYlgoCxCvTtA.woff | Bin 0 -> 116784 bytes .../fonts/4iCv6KVjbNBYlgoCxCvjsGyL.woff | Bin 0 -> 33424 bytes .../6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7nsDQ.woff | Bin 0 -> 19368 bytes .../6xK1dSBYKcSV-LCoeQqfX1RYOo3qPa7j.woff | Bin 0 -> 39572 bytes .../fonts/6xK3dSBYKcSV-LCoeQqfX1RYOo3aPA.woff | Bin 0 -> 81008 bytes .../6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7j.woff | Bin 0 -> 20180 bytes .../6xKydSBYKcSV-LCoeQqfX1RYOo3i54rAkw.woff | Bin 0 -> 80556 bytes .../6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vAkw.woff | Bin 0 -> 80084 bytes .../6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwlxdo.woff | Bin 0 -> 19896 bytes .../6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zAkw.woff | Bin 0 -> 80588 bytes .../6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlxdo.woff | Bin 0 -> 20204 bytes .../fonts/CSR54z1Qlv-GDxkbKVQ_dFsvWNRevw.woff | Bin 0 -> 16692 bytes .../fonts/CSR54z1Qlv-GDxkbKVQ_dFsvaNA.woff | Bin 0 -> 29712 bytes .../fonts/CSR64z1Qlv-GDxkbKVQ_TOQ.woff | Bin 0 -> 75144 bytes .../fonts/CSR64z1Qlv-GDxkbKVQ_fOAKSw.woff | Bin 0 -> 16424 bytes .../fonts/JTURjIg1_i6t8kCHKm45_ZpC7g0.woff | Bin 0 -> 68108 bytes .../fonts/JTURjIg1_i6t8kCHKm45_dJE7g0.woff | Bin 0 -> 68180 bytes .../fonts/JTUSjIg1_i6t8kCHKm45xW0.woff | Bin 0 -> 68308 bytes .../fonts/KFOlCnqEu92Fr1MmEU9fBBc-.woff | Bin 0 -> 20532 bytes .../fonts/KFOlCnqEu92Fr1MmEU9vAA.woff | Bin 0 -> 65492 bytes .../fonts/KFOlCnqEu92Fr1MmSU5fBBc-.woff | Bin 0 -> 20404 bytes .../fonts/KFOlCnqEu92Fr1MmSU5vAA.woff | Bin 0 -> 64952 bytes .../fonts/KFOlCnqEu92Fr1MmWUlfBBc-.woff | Bin 0 -> 20396 bytes .../fonts/KFOlCnqEu92Fr1MmWUlvAA.woff | Bin 0 -> 65292 bytes .../fonts/KFOmCnqEu92Fr1Me5g.woff | Bin 0 -> 65244 bytes .../fonts/KFOmCnqEu92Fr1Mu4mxM.woff | Bin 0 -> 20332 bytes .../fonts/QGYpz_kZZAGCONcK2A4bGOj8mNhL.woff | Bin 0 -> 89708 bytes .../fonts/S6u8w4BMUTPHjxsAXC-s.woff | Bin 0 -> 29836 bytes .../fonts/S6u8w4BMUTPHjxswWA.woff | Bin 0 -> 35444 bytes .../fonts/S6u9w4BMUTPHh6UVSwiPHw.woff | Bin 0 -> 28052 bytes .../fonts/S6u9w4BMUTPHh6UVeww.woff | Bin 0 -> 33380 bytes .../fonts/S6u9w4BMUTPHh7USSwiPHw.woff | Bin 0 -> 30024 bytes .../fonts/S6u9w4BMUTPHh7USeww.woff | Bin 0 -> 35168 bytes .../fonts/S6uyw4BMUTPHjx4wWA.woff | Bin 0 -> 28660 bytes .../fonts/S6uyw4BMUTPHvxo.woff | Bin 0 -> 34040 bytes ...HuS_fvQtMwCp50KnMw2boKoduKmMEVuFuYMZs.woff | Bin 0 -> 132068 bytes ...HuS_fvQtMwCp50KnMw2boKoduKmMEVuI6fMZs.woff | Bin 0 -> 130576 bytes ...HuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfMZs.woff | Bin 0 -> 121716 bytes .../fonts/XRXV3I6Li01BKof4MQ.woff | Bin 0 -> 63952 bytes .../fonts/XRXW3I6Li01BKofA6sKkZQ.woff | Bin 0 -> 64560 bytes .../fonts/XRXW3I6Li01BKofAjsOkZQ.woff | Bin 0 -> 63804 bytes ...SCEkx2cmqvXlWq8tWZ0Pw86hd0Rk5hkWVAexg.woff | Bin 0 -> 21848 bytes ...cVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk5hkaVQ.woff | Bin 0 -> 74640 bytes ...SCEkx2cmqvXlWq8tWZ0Pw86hd0Rk8ZkWVAexg.woff | Bin 0 -> 21780 bytes ...cVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk8ZkaVQ.woff | Bin 0 -> 74512 bytes ...SCEkx2cmqvXlWq8tWZ0Pw86hd0RkyFjWVAexg.woff | Bin 0 -> 21168 bytes ...cVXSCEkx2cmqvXlWq8tWZ0Pw86hd0RkyFjaVQ.woff | Bin 0 -> 71656 bytes ...X2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4gaVQ.woff | Bin 0 -> 20100 bytes ...vWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1y4k.woff | Bin 0 -> 68596 bytes ...X2vVnXBbObj2OVZyOOSr4dVJWUgsiH0B4gaVQ.woff | Bin 0 -> 20684 bytes ...vWbX2vVnXBbObj2OVZyOOSr4dVJWUgsiH0C4k.woff | Bin 0 -> 70456 bytes ...X2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4gaVQ.woff | Bin 0 -> 20640 bytes ...vWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0C4k.woff | Bin 0 -> 70736 bytes .../fonts/pe03MImSLYBIv1o4X1M8cc9iB_5p.woff | Bin 0 -> 57672 bytes .../fonts/pe0qMImSLYBIv1o4X1M8cfe5.woff | Bin 0 -> 57300 bytes .../fonts/q5uGsou0JOdh94bfvQlr.woff | Bin 0 -> 31624 bytes pkgdown.yml | 2 +- reference/add-line.html | 32 +++---- reference/add-shade.html | 24 +++--- reference/add-vh-lines.html | 12 +-- reference/add_event.html | 16 ++-- reference/add_event_marker.html | 12 +-- reference/add_point.html | 12 +-- reference/apex.html | 16 ++-- reference/apexchart.html | 8 +- reference/ax-series.html | 8 +- reference/ax_annotations.html | 16 ++-- reference/ax_chart.html | 40 ++++----- reference/ax_colors.html | 8 +- reference/ax_colors_manual.html | 16 ++-- reference/ax_dataLabels.html | 4 +- reference/ax_fill.html | 8 +- reference/ax_grid.html | 12 +-- reference/ax_labels.html | 8 +- reference/ax_labs.html | 4 +- reference/ax_legend.html | 8 +- reference/ax_markers.html | 4 +- reference/ax_nodata.html | 4 +- reference/ax_plotOptions.html | 12 +-- reference/ax_responsive.html | 4 +- reference/ax_states.html | 4 +- reference/ax_stroke.html | 8 +- reference/ax_subtitle.html | 4 +- reference/ax_theme.html | 12 +-- reference/ax_title.html | 4 +- reference/ax_tooltip.html | 12 +-- reference/ax_xaxis.html | 20 ++--- reference/ax_yaxis.html | 8 +- reference/ax_yaxis2.html | 8 +- reference/bar_opts.html | 4 +- reference/bubble_opts.html | 4 +- reference/format_num.html | 24 +++--- reference/heatmap_opts.html | 4 +- reference/pie_opts.html | 4 +- reference/radialBar_opts.html | 4 +- reference/set_input_click.html | 4 +- reference/set_input_selection.html | 8 +- reference/set_tooltip_fixed.html | 4 +- reference/spark_box.html | 4 +- search.json | 2 +- 113 files changed, 370 insertions(+), 349 deletions(-) create mode 100644 deps/bootstrap-5.1.0/font.css create mode 100644 deps/bootstrap-5.1.0/fonts/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVs9pbCIPrc.woff create mode 100644 deps/bootstrap-5.1.0/fonts/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCIPrc.woff create mode 100644 deps/bootstrap-5.1.0/fonts/4iCs6KVjbNBYlgo6ew.woff create mode 100644 deps/bootstrap-5.1.0/fonts/4iCs6KVjbNBYlgoKfw7w.woff create mode 100644 deps/bootstrap-5.1.0/fonts/4iCv6KVjbNBYlgoCxCvTtA.woff create mode 100644 deps/bootstrap-5.1.0/fonts/4iCv6KVjbNBYlgoCxCvjsGyL.woff create mode 100644 deps/bootstrap-5.1.0/fonts/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7nsDQ.woff create mode 100644 deps/bootstrap-5.1.0/fonts/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPa7j.woff create mode 100644 deps/bootstrap-5.1.0/fonts/6xK3dSBYKcSV-LCoeQqfX1RYOo3aPA.woff create mode 100644 deps/bootstrap-5.1.0/fonts/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7j.woff create mode 100644 deps/bootstrap-5.1.0/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rAkw.woff create mode 100644 deps/bootstrap-5.1.0/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vAkw.woff create mode 100644 deps/bootstrap-5.1.0/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwlxdo.woff create mode 100644 deps/bootstrap-5.1.0/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zAkw.woff create mode 100644 deps/bootstrap-5.1.0/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlxdo.woff create mode 100644 deps/bootstrap-5.1.0/fonts/CSR54z1Qlv-GDxkbKVQ_dFsvWNRevw.woff create mode 100644 deps/bootstrap-5.1.0/fonts/CSR54z1Qlv-GDxkbKVQ_dFsvaNA.woff create mode 100644 deps/bootstrap-5.1.0/fonts/CSR64z1Qlv-GDxkbKVQ_TOQ.woff create mode 100644 deps/bootstrap-5.1.0/fonts/CSR64z1Qlv-GDxkbKVQ_fOAKSw.woff create mode 100644 deps/bootstrap-5.1.0/fonts/JTURjIg1_i6t8kCHKm45_ZpC7g0.woff create mode 100644 deps/bootstrap-5.1.0/fonts/JTURjIg1_i6t8kCHKm45_dJE7g0.woff create mode 100644 deps/bootstrap-5.1.0/fonts/JTUSjIg1_i6t8kCHKm45xW0.woff create mode 100644 deps/bootstrap-5.1.0/fonts/KFOlCnqEu92Fr1MmEU9fBBc-.woff create mode 100644 deps/bootstrap-5.1.0/fonts/KFOlCnqEu92Fr1MmEU9vAA.woff create mode 100644 deps/bootstrap-5.1.0/fonts/KFOlCnqEu92Fr1MmSU5fBBc-.woff create mode 100644 deps/bootstrap-5.1.0/fonts/KFOlCnqEu92Fr1MmSU5vAA.woff create mode 100644 deps/bootstrap-5.1.0/fonts/KFOlCnqEu92Fr1MmWUlfBBc-.woff create mode 100644 deps/bootstrap-5.1.0/fonts/KFOlCnqEu92Fr1MmWUlvAA.woff create mode 100644 deps/bootstrap-5.1.0/fonts/KFOmCnqEu92Fr1Me5g.woff create mode 100644 deps/bootstrap-5.1.0/fonts/KFOmCnqEu92Fr1Mu4mxM.woff create mode 100644 deps/bootstrap-5.1.0/fonts/QGYpz_kZZAGCONcK2A4bGOj8mNhL.woff create mode 100644 deps/bootstrap-5.1.0/fonts/S6u8w4BMUTPHjxsAXC-s.woff create mode 100644 deps/bootstrap-5.1.0/fonts/S6u8w4BMUTPHjxswWA.woff create mode 100644 deps/bootstrap-5.1.0/fonts/S6u9w4BMUTPHh6UVSwiPHw.woff create mode 100644 deps/bootstrap-5.1.0/fonts/S6u9w4BMUTPHh6UVeww.woff create mode 100644 deps/bootstrap-5.1.0/fonts/S6u9w4BMUTPHh7USSwiPHw.woff create mode 100644 deps/bootstrap-5.1.0/fonts/S6u9w4BMUTPHh7USeww.woff create mode 100644 deps/bootstrap-5.1.0/fonts/S6uyw4BMUTPHjx4wWA.woff create mode 100644 deps/bootstrap-5.1.0/fonts/S6uyw4BMUTPHvxo.woff create mode 100644 deps/bootstrap-5.1.0/fonts/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuFuYMZs.woff create mode 100644 deps/bootstrap-5.1.0/fonts/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuI6fMZs.woff create mode 100644 deps/bootstrap-5.1.0/fonts/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfMZs.woff create mode 100644 deps/bootstrap-5.1.0/fonts/XRXV3I6Li01BKof4MQ.woff create mode 100644 deps/bootstrap-5.1.0/fonts/XRXW3I6Li01BKofA6sKkZQ.woff create mode 100644 deps/bootstrap-5.1.0/fonts/XRXW3I6Li01BKofAjsOkZQ.woff create mode 100644 deps/bootstrap-5.1.0/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk5hkWVAexg.woff create mode 100644 deps/bootstrap-5.1.0/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk5hkaVQ.woff create mode 100644 deps/bootstrap-5.1.0/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk8ZkWVAexg.woff create mode 100644 deps/bootstrap-5.1.0/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk8ZkaVQ.woff create mode 100644 deps/bootstrap-5.1.0/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0RkyFjWVAexg.woff create mode 100644 deps/bootstrap-5.1.0/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0RkyFjaVQ.woff create mode 100644 deps/bootstrap-5.1.0/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4gaVQ.woff create mode 100644 deps/bootstrap-5.1.0/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1y4k.woff create mode 100644 deps/bootstrap-5.1.0/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsiH0B4gaVQ.woff create mode 100644 deps/bootstrap-5.1.0/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsiH0C4k.woff create mode 100644 deps/bootstrap-5.1.0/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4gaVQ.woff create mode 100644 deps/bootstrap-5.1.0/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0C4k.woff create mode 100644 deps/bootstrap-5.1.0/fonts/pe03MImSLYBIv1o4X1M8cc9iB_5p.woff create mode 100644 deps/bootstrap-5.1.0/fonts/pe0qMImSLYBIv1o4X1M8cfe5.woff create mode 100644 deps/bootstrap-5.1.0/fonts/q5uGsou0JOdh94bfvQlr.woff diff --git a/articles/apexcharter.html b/articles/apexcharter.html index 0e4b0ae..31d1683 100644 --- a/articles/apexcharter.html +++ b/articles/apexcharter.html @@ -79,7 +79,7 @@

Starting with ApexCharts

Victor Perrier

-

2021-12-10

+

2021-12-11

Source: vignettes/apexcharter.Rmd
apexcharter.Rmd
@@ -101,21 +101,21 @@ data("mpg") apex(data = mpg, type = "column", mapping = aes(x = manufacturer)) -
-

Flipping coordinates can be done by using type = "bar":

+
+

Flipping coordinates can be done by using type = "bar":

 apex(data = mpg, type = "bar", mapping = aes(x = manufacturer))
-
-

To create a dodge bar charts, use aesthetic fill :

+
+

To create a dodge bar charts, use aesthetic fill :

 apex(data = mpg, type = "column", mapping = aes(x = manufacturer, fill = year))
-
-

For stacked bar charts, specify option stacked in ax_chart :

+
+

For stacked bar charts, specify option stacked in ax_chart :

 apex(data = mpg, type = "column", mapping = aes(x = manufacturer, fill = year)) %>% 
   ax_chart(stacked = TRUE)
-
- +
+

Line charts @@ -125,22 +125,22 @@ data("economics") apex(data = economics, type = "line", mapping = aes(x = date, y = uempmed))

-
-

To represent several lines, use a data.frame in long format and the group aesthetic:

+
+

To represent several lines, use a data.frame in long format and the group aesthetic:

 data("economics_long")
 
 apex(data = economics_long, type = "line", mapping = aes(x = date, y = value01, group = variable)) %>% 
   ax_yaxis(decimalsInFloat = 2) # number of decimals to keep
-
-

Create area charts with type = "area":

+
+

Create area charts with type = "area":

 apex(data = economics_long, type = "area", mapping = aes(x = date, y = value01, fill = variable)) %>% 
   ax_yaxis(decimalsInFloat = 2) %>% # number of decimals to keep
   ax_chart(stacked = TRUE) %>%
   ax_yaxis(max = 4, tickAmount = 4)
-
- +
+

Scatter charts @@ -148,16 +148,16 @@

Simple bar charts can be created with:

 apex(data = mtcars, type = "scatter", mapping = aes(x = wt, y = mpg))
-
-

Color points according to a third variable:

+
+

Color points according to a third variable:

 apex(data = mtcars, type = "scatter", mapping = aes(x = wt, y = mpg, fill = cyl))
-
-

And change point size using z aesthetics:

+
+

And change point size using z aesthetics:

 apex(data = mtcars, type = "scatter", mapping = aes(x = wt, y = mpg, z = scales::rescale(qsec)))
-
- +
+

Pie charts @@ -170,8 +170,8 @@ ) apex(data = poll, type = "pie", mapping = aes(x = answer, y = n))

-
- +
+

Radial charts @@ -179,8 +179,8 @@

Simple radial charts can be created with (here we pass values directly in aes, but you can use a data.frame) :

 apex(data = NULL, type = "radialBar", mapping = aes(x = "My value", y = 65))
-
-

Multi radial chart (more than one value):

+
+

Multi radial chart (more than one value):

 fruits <- data.frame(
   name = c('Apples', 'Oranges', 'Bananas', 'Berries'),
@@ -188,8 +188,8 @@
 )
 
 apex(data = fruits, type = "radialBar", mapping = aes(x = name, y = value))
-
- +
+

Radar charts @@ -199,8 +199,8 @@ mtcars$model <- rownames(mtcars) apex(data = head(mtcars), type = "radar", mapping = aes(x = model, y = qsec))

-
-

With a grouping variable:

+
+

With a grouping variable:

 # extremely complicated reshaping
 new_mtcars <- reshape(
@@ -214,8 +214,8 @@
 )
 
 apex(data = new_mtcars, type = "radar", mapping = aes(x = model, y = value, group = time))
-
- +
+

Polar area @@ -228,8 +228,8 @@ ax_fill(opacity = 1) %>% ax_stroke(width = 0) %>% ax_tooltip(fillSeriesColor = FALSE)

-
- +
+

Heatmap @@ -247,8 +247,8 @@ ) %>% ax_dataLabels(enabled = FALSE) %>% ax_colors("#008FFB")

-
- +
+

Treemap @@ -258,8 +258,8 @@ data("mpg", package = "ggplot2") apex(mpg, aes(x = manufacturer), "treemap")

-
- +
+

Candlestick @@ -273,8 +273,8 @@ aes(x = datetime, open = open, close = close, low = low, high = high), type = "candlestick" )

-
- +
+ diff --git a/articles/extra/advanced-configuration.html b/articles/extra/advanced-configuration.html index 2e09511..e8d2e70 100644 --- a/articles/extra/advanced-configuration.html +++ b/articles/extra/advanced-configuration.html @@ -147,8 +147,8 @@

Final result looks like :

 bars
-
-

View full code

+
+

View full code

 data("mpg", package = "ggplot2")
 
@@ -267,8 +267,8 @@
 

Final result looks like :

 lines
-
-

View full code

+
+

View full code

 data("unhcr_ts")
 
@@ -439,8 +439,8 @@
 

Final result looks like :

 scatter
-
-

View full code

+
+

View full code

 data("gapminder", package = "gapminder")
 
@@ -656,8 +656,8 @@
 

Final result looks like :

 heatmap
-
-

View full code

+
+

View full code

 data("vaccines", package = "highcharter")
 
diff --git a/articles/extra/chart-options.html b/articles/extra/chart-options.html
index e99865f..dfc275b 100644
--- a/articles/extra/chart-options.html
+++ b/articles/extra/chart-options.html
@@ -105,8 +105,8 @@
     x = "Cut",
     y = "Count"
   )
-
-

If you want more control (font size, alignment, …), you can use ax_title(), ax_subtitle(), ax_xaxis() and ax_yaxis(), as described below.

+
+

If you want more control (font size, alignment, …), you can use ax_title(), ax_subtitle(), ax_xaxis() and ax_yaxis(), as described below.

Title @@ -114,8 +114,8 @@
 apex(data = diamonds, type = "column", mapping = aes(x = cut)) %>% 
   ax_title(text = "Cut distribution")
-
-

You can set some options, for example:

+
+

You can set some options, for example:

 apex(data = diamonds, type = "column", mapping = aes(x = cut)) %>% 
   ax_title(
@@ -123,8 +123,8 @@
     align = "center",
     style = list(fontSize = "22px", fontWeight = 700)
   )
-
-

Full list of parameters is available here : https://apexcharts.com/docs/options/title/

+
+

Full list of parameters is available here : https://apexcharts.com/docs/options/title/

Subtitle @@ -133,8 +133,8 @@ apex(data = diamonds, type = "column", mapping = aes(x = cut)) %>% ax_title(text = "Cut distribution") %>% ax_subtitle(text = "Data from ggplot2")

-
-

With same options than for title:

+
+

With same options than for title:

 apex(data = diamonds, type = "column", mapping = aes(x = cut)) %>% 
   ax_title(
@@ -147,8 +147,8 @@
     align = "center",
     style = list(fontSize = "16px", fontWeight = 400, color = "#BDBDBD")
   )
-
-

Full list of parameters is available here : https://apexcharts.com/docs/options/subtitle/

+
+

Full list of parameters is available here : https://apexcharts.com/docs/options/subtitle/

Axis title @@ -157,8 +157,8 @@ apex(data = diamonds, type = "column", mapping = aes(x = cut)) %>% ax_yaxis(title = list(text = "Count")) %>% ax_xaxis(title = list(text = "Cut"))

-
-

With some options:

+
+

With some options:

 apex(data = diamonds, type = "column", mapping = aes(x = cut)) %>% 
   ax_yaxis(title = list(
@@ -169,8 +169,8 @@
     text = "Cut", 
     style = list(fontSize = "14px", color = "#BDBDBD")
   ))
-
- +
+
@@ -190,18 +190,18 @@

Classic line:

 apex(data = economics, type = "line", mapping = aes(x = date, y = uempmed))
-
-

Spline curve:

+
+

Spline curve:

 apex(data = economics, type = "line", mapping = aes(x = date, y = uempmed)) %>% 
   ax_stroke(curve = "smooth")
-
-

Steps chart:

+
+

Steps chart:

 apex(data = economics, type = "line", mapping = aes(x = date, y = uempmed)) %>% 
   ax_stroke(curve = "stepline")
-
- +
+

Line appearance @@ -221,23 +221,23 @@ stops = c(0, 100, 100, 100) ) )

-
-

Solid area color:

+
+

Solid area color:

 apex(data = economics, type = "area", mapping = aes(x = date, y = uempmed)) %>% 
   ax_fill(type = "solid", opacity = 1)
-
-

Line width:

+
+

Line width:

 apex(data = economics, type = "line", mapping = aes(x = date, y = uempmed)) %>% 
   ax_stroke(width = 1)
-
-

Dotted line

+
+

Dotted line

 apex(data = economics, type = "line", mapping = aes(x = date, y = uempmed)) %>% 
   ax_stroke(dashArray = 6)
-
- +
+

Markers @@ -246,14 +246,14 @@
 apex(data = tail(economics, 20), type = "line", mapping = aes(x = date, y = uempmed)) %>% 
   ax_markers(size = 6)
-
-

Add labels over points

+
+

Add labels over points

 apex(data = tail(economics, 20), type = "line", mapping = aes(x = date, y = uempmed)) %>% 
   ax_markers(size = 6) %>% 
   ax_dataLabels(enabled = TRUE)
-
- +
+

Multiple lines @@ -264,13 +264,13 @@ ax_yaxis(decimalsInFloat = 2) %>% ax_markers(size = c(3, 6)) %>% ax_stroke(width = c(1, 3))

-
-
+
+
 apex(data = economics_long, type = "line", mapping = aes(x = date, y = value01, group = variable)) %>% 
   ax_yaxis(decimalsInFloat = 2) %>% 
   ax_stroke(dashArray = c(8, 5))
-
- +
+