From b2b9162e2ef98fb94a24983bb9fa6dd867690c70 Mon Sep 17 00:00:00 2001 From: pvictor Date: Fri, 9 Dec 2022 08:51:56 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20dreamRs/?= =?UTF-8?q?apexcharter@2174c8b238b67b2510c5de674044c5dd32ef2359=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 | 76 +++++++++++----------- 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 ++-- index.html | 4 +- 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 +- 52 files changed, 349 insertions(+), 349 deletions(-) diff --git a/articles/apexcharter.html b/articles/apexcharter.html index 5ca0869..dcfd004 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,23 +134,23 @@ 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
-
-

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 @@ -158,16 +158,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 charts @@ -180,8 +180,8 @@ format and the group aesthetic:

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

-
- +
+

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

Radar charts @@ -211,8 +211,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(
@@ -226,8 +226,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 @@ -240,8 +240,8 @@ directly in aes, but you can use a data.frame) ax_fill(opacity = 1) %>% ax_stroke(width = 0) %>% ax_tooltip(fillSeriesColor = FALSE)

-
- +
+

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

-
- +
+

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

-
- +
+

Candlestick @@ -285,8 +285,8 @@ directly in aes, but you can use a data.frame) 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 9bb7d98..4f562b4 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 e519d66..c71244f 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))
-
- +
+