animated-charts
Version:
Animated chart web components for all frameworks (React, Angular, Vue, HTML)
18 lines (17 loc) • 438 B
TypeScript
import React from "react";
import "./candlestick-chart.css";
export interface CandlestickData {
open: number;
close: number;
high: number;
low: number;
label?: string;
}
export interface CandlestickChartProps {
data: CandlestickData[];
width?: number;
height?: number;
colors?: [string, string];
animationDuration?: number;
}
export declare const CandlestickChart: React.FC<CandlestickChartProps>;