synapse-react-client
Version:
[](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client) [](https://badge.fury.io/js/synaps
34 lines (33 loc) • 757 B
TypeScript
export declare type GraphItem = {
x: number;
y: string;
info?: string;
group: string;
};
export declare type PlotStyle = {
markerFill?: string;
markerLine?: string;
markerSize?: number;
backgroundColor?: string;
};
export declare type Dictionary = {
[key: string]: string;
};
export declare type BarPlotColors = Dictionary;
export declare type PlotProps = {
entityId: string;
xField: string;
yField: string;
groupField: string;
countLabel?: string;
whereClause?: string;
infoField?: string;
colors?: BarPlotColors;
markerSymbols?: Dictionary;
plotStyle?: PlotStyle;
};
export declare type ClickCallbackParams = {
event: MouseEvent;
facetValue: string;
type: string;
};