cl-react-graph
Version:
26 lines (25 loc) • 723 B
TypeScript
import { FC } from 'react';
import { EChartDirection } from './BarChart';
import { TTipFunc } from './components/ToolTip';
import { ELabelOrientation, TAxisLabelFormat } from './components/YAxis';
import { IBarChartData, IHistogramBar } from './Histogram';
export interface IProps {
axisLabelFormat?: TAxisLabelFormat;
colorScheme?: string[];
data: IBarChartData[];
direction?: EChartDirection;
height: number;
padding?: IHistogramBar;
tip?: TTipFunc;
title?: string;
width: number;
xAxisHeight?: number;
yAxisWidth?: number;
titleHeight?: number;
titleLayout?: ELabelOrientation;
}
/**
* JoyPlot component
*/
declare const JoyPlot: FC<IProps>;
export default JoyPlot;