react-native-responsive-linechart
Version:
Customizable linechart for react-native that works with flex
32 lines (31 loc) • 761 B
TypeScript
import * as React from 'react';
import { Stroke, Label } from './types';
declare type Props = {
theme?: {
axis?: {
visible?: boolean;
stroke?: Stroke;
dy?: number;
};
ticks?: {
visible?: boolean;
stroke?: Stroke;
length?: number;
dy?: number;
};
labels?: {
visible?: boolean;
label?: Label;
formatter?: (value: number) => string;
};
grid?: {
visible?: boolean;
stroke?: Stroke;
};
};
tickValues?: number[];
tickCount?: number;
includeOriginTick?: boolean;
};
declare const HorizontalAxis: React.FC<Props>;
export { HorizontalAxis };