add_axis: Add an axis to a timeline plot

Description Usage Arguments Value

Description

Often, a timeline plot needs an x axis, so this little function supplies a very thin wrapper for d3.svg.axis, so that we can add it to our timeline htmlwidget.

Usage

1
2
3
4
add_axis(chart = NULL, scale = NULL, orient = NULL, ticks = NULL,
  tickValues = NULL, tickSize = NULL, innerTickSize = NULL,
  outerTickSize = NULL, tickPadding = NULL, tickFormat = NULL,
  styles = NULL)

Arguments

chart

timeline plot htmlwidget to which you would like to add an axis

scale

scale

orient

orient

ticks

ticks

tickValues

tickValues

tickSize

tickSize

innerTickSize

innerTickSize

outerTickSize

outerTickSize

tickPadding

tickPadding

styles

styles

Value

timeline chart modified with an added axis


timelyportfolio/timelineR documentation built on May 31, 2019, 2:14 p.m.