dce-charts
Version:
Harvard DCE's React Charting Wrapper
19 lines (18 loc) • 445 B
TypeScript
/**
* HorizontalBarChart, wrapper around the ChartJS Horizontal Bar chart for DCE
* widgets
* @author Jackson Parsells
*/
import React from 'react';
import Color from '../../shared/types/Color';
declare type Props = {
title: string;
showTitle?: boolean;
bars: {
value: number;
label: string;
color?: Color;
}[];
};
declare const HorizontalBarChart: React.FC<Props>;
export default HorizontalBarChart;