(p: OHLCDataPoint)
| 66 | |
| 67 | const getTimestamp = (p: OHLCDataPoint): number => (isTupleOHLCDataPoint(p) ? p[0] : p.timestamp); |
| 68 | const getClose = (p: OHLCDataPoint): number => (isTupleOHLCDataPoint(p) ? p[2] : p.close); |
| 69 | |
| 70 | // Get appropriate dataZoom config based on candle count |
| 71 | function getDataZoomConfig(candleCount: number) { |
no test coverage detected