UNPKG

react-financial-charts

Version:
51 lines (50 loc) 1.57 kB
import * as React from "react"; interface CandlestickSeriesProps { readonly candleClassName?: string; readonly candleStrokeWidth?: number; readonly className?: string; readonly classNames?: string | any; readonly clip?: boolean; readonly fill?: string | any; readonly opacity?: number; readonly stroke?: string | any; readonly wickStroke?: string | any; readonly wickClassName?: string; readonly width?: number | any; readonly widthRatio?: number; readonly yAccessor?: any; } export declare class CandlestickSeries extends React.Component<CandlestickSeriesProps> { static defaultProps: { candleClassName: string; candleStrokeWidth: number; className: string; classNames: (d: any) => "up" | "down"; clip: boolean; fill: (d: any) => "#26a69a" | "#ef5350"; opacity: number; stroke: (d: any) => "#26a69a" | "#ef5350"; wickClassName: string; wickStroke: (d: any) => "#26a69a" | "#ef5350"; width: (props: { widthRatio: number; }, moreProps: { xScale: any; }) => number; widthRatio: number; yAccessor: (d: any) => { open: any; high: any; low: any; close: any; }; }; render(): JSX.Element; private readonly drawOnCanvas; private readonly renderSVG; private readonly getWicksSVG; private readonly getCandlesSVG; private readonly drawOnCanvasPrivate; private readonly getCandleData; } export {};