From d499db18c8af263c7b5b14aaa9069779c1119ead Mon Sep 17 00:00:00 2001 From: pvictor Date: Wed, 14 Jun 2023 13:21:34 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20dreamRs/?= =?UTF-8?q?apexcharter@11d244e9922a9abe41aee90124224d8f5cababa9=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- articles/apexcharter.html | 92 +++++++++++----------- 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 +-- 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_forecast_data_points.html | 4 +- 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/boxplot_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 +- 53 files changed, 359 insertions(+), 359 deletions(-) diff --git a/articles/apexcharter.html b/articles/apexcharter.html index 109e5be..1645298 100644 --- a/articles/apexcharter.html +++ b/articles/apexcharter.html @@ -107,23 +107,23 @@ give an overview of the different graphics available.

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

Flipping coordinates can be done by using +

+

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 +

+

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 @@ -134,16 +134,16 @@ give an overview of the different graphics available.

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

-
-

To represent several lines, use a data.frame in long +

+

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
-
- +
+

Area charts @@ -175,8 +175,8 @@ format and the group aesthetic:

title = "Electricity generation by sector in France", subtitle = "Data from \u00e9CO\u2082mix" )

-
-

You can create ribbon charts using ymin and +

+

You can create ribbon charts using ymin and ymax aesthetics :

 data("temperatures", package = "apexcharter")
@@ -197,8 +197,8 @@ format and the group aesthetic:

title = "Temperatures in 2023 with range from 2018 to 2021", subtitle = "Data from ENEDIS" )
-
- +
+

Scatter charts @@ -206,16 +206,16 @@ format and the group aesthetic:

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 & donut charts @@ -228,12 +228,12 @@ format and the group aesthetic:

) apex(data = poll, type = "pie", mapping = aes(x = answer, y = n))

-
-

It’s also possible to make donut chart:

+
+

It’s also possible to make donut chart:

 apex(data = poll, type = "donut", mapping = aes(x = answer, y = n))
-
- +
+

Radial charts @@ -243,8 +243,8 @@ 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'),
@@ -252,8 +252,8 @@ directly in aes, but you can use a data.frame)
 )
 
 apex(data = fruits, type = "radialBar", mapping = aes(x = name, y = value))
-
- +
+

Radar charts @@ -263,8 +263,8 @@ directly in aes, but you can use a data.frame) 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(
@@ -278,8 +278,8 @@ directly in aes, but you can use a data.frame)
 )
 
 apex(data = new_mtcars, type = "radar", mapping = aes(x = model, y = value, group = time))
-
- +
+

Polar area @@ -292,8 +292,8 @@ directly in aes, but you can use a data.frame) ax_fill(opacity = 1) %>% ax_stroke(width = 0) %>% ax_tooltip(fillSeriesColor = FALSE)

-
- +
+

Heatmap @@ -311,8 +311,8 @@ directly in aes, but you can use a data.frame) ) %>% ax_dataLabels(enabled = FALSE) %>% ax_colors("#008FFB")

-
- +
+

Treemap @@ -322,8 +322,8 @@ directly in aes, but you can use a data.frame) data("mpg", package = "ggplot2") apex(mpg, aes(x = manufacturer), "treemap")

-
- +
+

Candlestick @@ -337,8 +337,8 @@ directly in aes, but you can use a data.frame) aes(x = datetime, open = open, close = close, low = low, high = high), type = "candlestick" )

-
- +
+

Boxplot @@ -351,8 +351,8 @@ directly in aes, but you can use a data.frame) boxPlot = boxplot_opts(color.upper = "#8BB0A6", color.lower = "#8BB0A6" ) ) %>% ax_stroke(colors = list("#2A5769"))

-
- +
+

Dumbbell charts @@ -373,8 +373,8 @@ directly in aes, but you can use a data.frame) subtitle = "Data from Gapminder dataset", x = "Life expectancy at birth, in years" )

-
- +
+ diff --git a/articles/extra/advanced-configuration.html b/articles/extra/advanced-configuration.html index 72139e2..0fa663a 100644 --- a/articles/extra/advanced-configuration.html +++ b/articles/extra/advanced-configuration.html @@ -153,8 +153,8 @@ name “pct” :

Final result looks like :

 bars
-
-
View full code +
+
View full code
 data("mpg", package = "ggplot2")
 
@@ -278,8 +278,8 @@ Lakes refugee crisis in 1994 :

Final result looks like :

 lines
-
-
View full code +
+
View full code
 data("unhcr_ts")
 
@@ -460,8 +460,8 @@ data in the chart configuration script.

Final result looks like :

 scatter
-
-
View full code +
+
View full code
 data("gapminder", package = "gapminder")
 
@@ -682,8 +682,8 @@ introduced :

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 dfdb244..0ff24b7 100644
--- a/articles/extra/chart-options.html
+++ b/articles/extra/chart-options.html
@@ -109,8 +109,8 @@
     x = "Cut",
     y = "Count"
   )
-
-

If you want more control (font size, alignment, …), you can use +

+

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

@@ -121,8 +121,8 @@ below.

 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(
@@ -130,8 +130,8 @@ below.

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 @@ -140,8 +140,8 @@ below.

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(
@@ -154,8 +154,8 @@ below.

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 @@ -164,8 +164,8 @@ below.

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(
@@ -176,8 +176,8 @@ below.

text = "Cut", style = list(fontSize = "14px", color = "#BDBDBD") ))
-
- +
+
@@ -197,18 +197,18 @@ below.

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 @@ -228,23 +228,23 @@ below.

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 @@ -253,14 +253,14 @@ below.

 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 @@ -271,13 +271,13 @@ below.

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))
-
- +
+