cl-react-graph
Version:
45 lines (44 loc) • 1.11 kB
TypeScript
import { FC } from 'react';
import { TLabelComponent } from './components/Label';
export declare type TUpsetData = {
keys: string[];
value: number;
}[];
export interface IProps {
colorScheme?: string[];
data: TUpsetData;
height: number;
hoverColorScheme?: string[];
showLabels?: boolean[];
visible?: Record<string, boolean>;
width: number;
xAxisHeight?: number;
yAxisWidth?: number;
textFill?: string;
distribution?: {
colorScheme: string[];
fill: {
active: string;
inactive: string;
};
label?: string;
};
setSize?: {
dimensions: {
chartWidth: number;
axisWidth: number;
height: number;
};
label?: string;
colorScheme: string[];
LabelComponent?: TLabelComponent;
};
axisSpace?: number;
radius?: number;
/** @description accessible title */
title: string;
/** @description accessible description */
description: string;
}
declare const UpsetChart: FC<IProps>;
export default UpsetChart;