R: Candlestick plotter for dygraph chart

dyCandlestick {dygraphs} | R Documentation

## Candlestick plotter for dygraph chart

### Description

Draw a candlestick chart.

### Usage

    dyCandlestick(dygraph, compress = FALSE)

### Arguments

`dygraph` | Dygraph to draw chart on
`compress` | If true, compress data yearly, quarterly, monthly, weekly or daily according to overall amount of bars and/or current zoom level.

### Value

Dygraph with specified candlestick plotter

### Examples

    library(xts)
    data(sample_matrix)
    library(dygraphs)
    dygraph(sample_matrix) %>%
      dyCandlestick()

[Package dygraphs version 1.1.1.4 Index]