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