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