diff --git a/docs/404.html b/docs/404.html index 89abe06..d4ba6b8 100644 --- a/docs/404.html +++ b/docs/404.html @@ -149,11 +149,11 @@
diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html index 4a5b1e0..094e056 100644 --- a/docs/LICENSE-text.html +++ b/docs/LICENSE-text.html @@ -149,11 +149,11 @@ diff --git a/docs/LICENSE.html b/docs/LICENSE.html index b25a021..b5a757d 100644 --- a/docs/LICENSE.html +++ b/docs/LICENSE.html @@ -149,11 +149,11 @@ diff --git a/docs/articles/apexcharter.html b/docs/articles/apexcharter.html index 2611614..952bebc 100644 --- a/docs/articles/apexcharter.html +++ b/docs/articles/apexcharter.html @@ -84,11 +84,11 @@ @@ -154,14 +154,14 @@ - -vignettes/apexcharter.Rmd
apexcharter.Rmd
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"
:
To create a dodge bar charts, use aesthetic fill
:
To create a dodge bar charts, use aesthetic fill
:
For stacked bar charts, specify option stacked
in ax_chart
:
For stacked bar charts, specify option stacked
in ax_chart
:
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"
:
Simple bar charts can be created with:
- -Color points according to a third variable:
+ +Color points according to a third variable:
- -And change point size using z
aesthetics:
And change point size using z
aesthetics:
Simple radial charts can be created with (here we pass values directly in aes
, but you can use a data.frame
) :
Multi radial chart (more than one value):
+ +Multi radial chart (more than one value):
fruits <- data.frame(
name = c('Apples', 'Oranges', 'Bananas', 'Berries'),
@@ -271,8 +271,8 @@
)
apex(data = fruits, type = "radialBar", mapping = aes(x = name, y = value))
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(
@@ -297,8 +297,8 @@
)
apex(data = new_mtcars, type = "radar", mapping = aes(x = model, y = value, group = time))