cl-react-graph
Version:
32 lines (31 loc) • 916 B
TypeScript
import { FC } from 'react';
import { SpringConfig } from 'react-spring';
import { EChartDirection } from '../../BarChart';
import { IBarChartDataSet } from '../../Histogram';
import { TLabelComponent } from '../Label';
import { TTipFunc } from '../ToolTip';
interface IProps {
bins: [number, number][];
config?: SpringConfig;
colorScheme?: readonly string[];
continuousDomain: [number, number];
direction?: EChartDirection;
domain: [number, number];
height: number;
hoverColorScheme?: readonly string[];
id: string;
labels?: string[];
left?: number;
showLabels?: boolean[];
LabelComponent?: TLabelComponent;
stroke?: string;
top?: number;
tip?: TTipFunc;
values: IBarChartDataSet[];
visible?: Record<string, boolean>;
width: number;
rx?: number;
ry?: number;
}
declare const HistogramBars: FC<IProps>;
export default HistogramBars;