reaviz
Version:
Data Visualization using React
25 lines (23 loc) • 1 kB
TypeScript
import { FC, ReactElement } from 'react';
import { LinearAxisTickLabel, LinearAxisTickLabelProps } from './LinearAxisTickLabel';
import { LinearAxisTickLine, LinearAxisTickLineProps } from './LinearAxisTickLine';
import { TimeInterval } from 'd3-time';
import { LinearAxisProps } from './LinearAxis';
export interface LinearAxisTickSeriesProps {
height: number;
width: number;
scale: any;
interval?: number | TimeInterval;
tickSize: number;
tickValues: any[];
orientation: 'horizontal' | 'vertical';
label: ReactElement<LinearAxisTickLabelProps, typeof LinearAxisTickLabel> | null;
line: ReactElement<LinearAxisTickLineProps, typeof LinearAxisTickLine> | null;
axis: LinearAxisProps;
}
export declare const LinearAxisTickSeries: FC<Partial<LinearAxisTickSeriesProps>>;
export declare const LINEAR_AXIS_TICK_SERIES_DEFAULT_PROPS: {
line: import("react/jsx-runtime").JSX.Element;
label: import("react/jsx-runtime").JSX.Element;
tickSize: number;
};