theme_timeline: Theme of Timeline

Description Usage Note Examples

Description

theme_timeline() is used with geom_timeline() and geom_timeline_label()

Usage

1

Note

The background and y axis is set as blank, when only the line axis x is presented

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
ggplot(input_data, aes (x = date, y = COUNTRY,
color = as.numeric(DEATHS), size = as.numeric(EQ_PRIMARY))) +
geom_timeline(aes(xmin = as.Date("1900-01-01"), xmax =  as.Date("1925-01-01")) +
geom_timeline_label(aes(label = LOCATION_NAME,
xmin = as.Date("1900-01-01"), xmax = as.Date("1925-01-01")),
n_max = 5) +
theme_timeline()
## End(Not run)

maianhdang/noaa.visualise documentation built on May 22, 2019, 12:23 p.m.