clean-candles
v1.0.0
Published
zoomable candle chart
Downloads
3
Readme
clean-candles
zoomable candle chart
Install
npm install --save clean-candles
Usage
import React, { Component } from 'react'
import Candle from 'clean-candles'
const values = [[open, high, low, close, unixTime], [open, high, low, close, unixTime] ...]
class Example extends Component {
render() {
return
<div style={{width: '50vw'}}>
<Candle data={values} chartHeight={'50vh'} chartWidth={'100vw'}></Candle>
</div>
}
}
Format
Currently only supports intraday candles, 15min, 30min, 60min, 4hour Candle must be passed as an array of arrays, each candle array being formated as [open, high, low, close, unixtimestamp]
Coming Soon
- Volume Shelf
- Trendlines
- Brush Zoom
- Moving Averages
License
MIT © jcawl