diff --git a/404.html b/404.html index 8bcb0b2..d779536 100644 --- a/404.html +++ b/404.html @@ -25,7 +25,7 @@ apexcharter - 0.4.0.9300 + 0.4.0.9400
from = "2020-01-06", to = "2020-01-20", label = "interesting period" ) - - + + # add label with more options apex(consumption, aes(date, value, group = type), "spline") %>% add_shade( @@ -166,14 +166,14 @@ used for x-axis is of classDate
or POSIXt
.
padding = c(3, 5, 3, 5)
)
)
-
-
+
+
# automatically add shadow on week-ends
apex(consumption, aes(date, value, group = type), "spline") %>%
add_shade_weekend()
-
-
+
+
diff --git a/reference/add-vh-lines.html b/reference/add-vh-lines.html
index 4b7e289..78496d4 100644
--- a/reference/add-vh-lines.html
+++ b/reference/add-vh-lines.html
@@ -2,7 +2,7 @@
label
for more controls.
"column"
) %>%
add_hline(value = 5e5)
-
-
+
+
# On a scatter chart
apex(
@@ -133,8 +133,8 @@ or see label
for more controls.
) %>%
add_hline(value = mean(cars$dist)) %>%
add_vline(value = mean(cars$speed))
-
-
+
+
# With labels
apex(
data = cars,
@@ -152,8 +152,8 @@ or see label
for more controls.
borderColor = "red"
)
)
-
-
+
+
diff --git a/reference/add_event.html b/reference/add_event.html
index 1b838b9..bd53461 100644
--- a/reference/add_event.html
+++ b/reference/add_event.html
@@ -2,7 +2,7 @@
label
for more controls.
# specify from and to date
apex(consumption, aes(date, value, group = type), "spline") %>%
add_event(when = "2020-01-11")
-
-
+
+
# several events
apex(consumption, aes(date, value, group = type), "spline") %>%
add_event(when = c("2020-01-11", "2020-01-29"))
-
-
+
+
# Add labels on events
apex(consumption, aes(date, value, group = type), "spline") %>%
add_event(
when = c("2020-01-11", "2020-01-29"),
label = label(text = c("Am", "Ar"))
)
-
-
+
+
# can be combined with shade
apex(consumption, aes(date, value, group = type), "spline") %>%
add_shade(from = "2020-01-06", to = "2020-01-20")%>%
add_event(when = c("2020-01-11", "2020-01-29"))
-
-
+
+
diff --git a/reference/add_event_marker.html b/reference/add_event_marker.html
index 8eb81dd..1a72925 100644
--- a/reference/add_event_marker.html
+++ b/reference/add_event_marker.html
@@ -2,7 +2,7 @@
label
for more controls.
# add a marker
apex(consumption, aes(date, value, group = type), "spline") %>%
add_event_marker(when = "2020-01-22", y = 1805)
-
-
+
+
# with a label
apex(consumption, aes(date, value, group = type), "spline") %>%
add_event_marker(when = "2020-01-22", y = 1805, label = "Consumption peak")
-
-
+
+
# add several markers
apex(consumption, aes(date, value, group = type), "spline") %>%
add_event_marker(
@@ -168,8 +168,8 @@ or see label
for more controls.
size = 10,
color = "firebrick"
)
-
-
+
+
diff --git a/reference/add_point.html b/reference/add_point.html
index d8ed6cc..88595cd 100644
--- a/reference/add_point.html
+++ b/reference/add_point.html
@@ -2,7 +2,7 @@
label
for more controls.
x = mean(iris$Sepal.Length),
y = mean(iris$Sepal.Width)
)
-
-
+
+
# Some options
apex(
data = iris,
@@ -172,8 +172,8 @@ or see label
for more controls.
size = 8,
label = label(text = "Mean", offsetY = 0)
)
-
-
+
+
# Several points
clusters <- kmeans(iris[, 1:2], 3)
@@ -186,8 +186,8 @@ or see label
for more controls.
x = clusters$centers[, 1],
y = clusters$centers[, 2]
)
-
-
+
+
diff --git a/reference/apex-facets.html b/reference/apex-facets.html
index addbacb..2c204b5 100644
--- a/reference/apex-facets.html
+++ b/reference/apex-facets.html
@@ -12,7 +12,7 @@ or by specified number of row and column for faceting variable(s) (ax_facet_wrap
apexcharter
- 0.4.0.9300
+ 0.4.0.9400
config_update()
for more contr
categories = LETTERS[1:5]
)
))
-
-
+
+
# Or use apexchart() to initialize the chart
# before passing parameters
@@ -143,8 +143,8 @@ use config_update()
for more contr
ax_xaxis(
categories = LETTERS[1:5]
)
-
-
+
+
diff --git a/reference/apexchartProxy.html b/reference/apexchartProxy.html
index 2cf6565..a71b795 100644
--- a/reference/apexchartProxy.html
+++ b/reference/apexchartProxy.html
@@ -10,7 +10,7 @@
apexcharter
- 0.4.0.9300
+ 0.4.0.9400
"normal"
or "100%"
.
data = diamonds,
mapping = aes(x = cut, fill = color)
)
-
-
+
+
# stack
apex(
data = diamonds,
mapping = aes(x = cut, fill = color)
) %>%
ax_chart(stacked = TRUE)
-
-
+
+
# stack filled
apex(
data = diamonds,
mapping = aes(x = cut, fill = color)
) %>%
ax_chart(stacked = TRUE, stackType = "100%")
-
-
+
+
@@ -227,8 +227,8 @@ Available options: "normal"
or "100%"
.
mapping = aes(x = cut, fill = color)
) %>%
ax_chart(toolbar = list(show = FALSE))
-
-
+
+
# Hide download buttons
data("economics", package = "ggplot2")
apex(
@@ -239,8 +239,8 @@ Available options: "normal"
or "100%"
.
ax_chart(
toolbar = list(tools= list(download = FALSE))
)
-
-
+
+
# Zoom -----------------------------------------
@@ -254,8 +254,8 @@ Available options: "normal"
or "100%"
.
ax_chart(
zoom = list(enabled = FALSE)
)
-
-
+
+
# Auto-scale Y axis
apex(
@@ -266,8 +266,8 @@ Available options: "normal"
or "100%"
.
ax_chart(
zoom = list(autoScaleYaxis = TRUE)
)
-
-
+
+
# Localization ---------------------------------
@@ -280,13 +280,13 @@ Available options: "normal"
or "100%"
.
# French
apex(dat, aes(x, y), "line") %>%
ax_chart(defaultLocale = "fr")
-
-
+
+
# Italian
apex(dat, aes(x, y), "line") %>%
ax_chart(defaultLocale = "it")
-
-
+
+
# Custom config
@@ -302,8 +302,8 @@ Available options: "normal"
or "100%"
.
)
)
))
-
-
+
+