View source: R/custom_aqiAnnotation.R
custom_aqiStackedBar | R Documentation |
Adds AQ category stacked bars to a plot.
custom_aqiStackedBar(width = 0.02, position = "identity", ...)
width |
Width of bars as a fraction of plot width. |
position |
Position adjustment, either as a string, or the result of a call to a position adjustment function. |
... |
Additional arguments passed on to layer, such as alpha. |
A ggplot plot object with AQ category annotations.
library (AirMonitorPlots)
AirMonitor::Carmel_Valley %>%
ggplot_pm25Timeseries() +
custom_aqiLines() +
custom_aqiStackedBar()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.