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