layer_area: An area chart

Description Usage Arguments Examples

View source: R/layer-area.R

Description

Create an area chart.

Usage

1
layer_area(chart)

Arguments

chart

A chartist object.

Examples

1
2
3
4
5
6
7
areas <- faithful %>%
  chartist(waiting, eruptions) %>%
  layer_area() %>%
  layer_ratio_2_5() %>%
  add_x_axis(grid = FALSE)

areas

nteetor/chartisan documentation built on May 29, 2019, 7:19 a.m.