dce-charts
Version:
Harvard DCE's React Charting Wrapper
19 lines (18 loc) • 437 B
TypeScript
/**
* VerticalBarChart, wrapper around the ChartJS Vertical 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 VerticalBarChart: React.FC<Props>;
export default VerticalBarChart;