UNPKG

react-financial-charts

Version:
42 lines (41 loc) 1.09 kB
import * as React from "react"; interface AxisTicksProps { orient: "top" | "bottom" | "left" | "right"; innerTickSize?: number; tickFormat?: any; tickPadding?: number; ticks?: number[]; tickValues?: number[]; scale: any; tickStroke?: string; tickStrokeOpacity?: number; } export declare class AxisTicks extends React.Component<AxisTicksProps> { static defaultProps: { innerTickSize: number; tickPadding: number; ticks: number[]; tickStroke: string; tickStrokeOpacity: number; }; static drawOnCanvasStatic: (props: any, ctx: CanvasRenderingContext2D, xScale: any, yScale: any) => void; static helper: (props: any, scale: any) => { ticks: any; scale: any; tickTransform: any; tickStroke: any; tickStrokeOpacity: any; dy: any; canvas_dy: any; x: any; y: any; x2: any; y2: any; textAnchor: any; fontSize: any; fontFamily: any; format: any; }; render(): JSX.Element; } export {};