synapse-react-client
Version:
[](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client) [](https://badge.fury.io/js/synaps
18 lines (17 loc) • 566 B
TypeScript
import React, { FunctionComponent } from 'react';
import * as PlotlyTyped from 'plotly.js';
import { GraphItem, BarPlotColors, PlotStyle } from './types';
export declare type BarPlotProps = {
isTop: boolean;
style?: React.CSSProperties;
plotData: GraphItem[];
layoutConfig: Partial<PlotlyTyped.Layout>;
optionsConfig: Partial<PlotlyTyped.Config>;
label: string;
xMax: number;
colors?: BarPlotColors;
plotStyle?: PlotStyle;
onClick?: Function;
};
declare const BarPlot: FunctionComponent<BarPlotProps>;
export default BarPlot;