Skip to content

Instantly share code, notes, and snippets.

@rowinf
rowinf / gist:583fcbafe28d24eae323
Last active June 7, 2021 14:15
react-chartjs line chart example
import React from 'react';
import {Line as LineChart} from 'react-chartjs';
function chartData() {
return {
labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
datasets: [
{
label: 'My First dataset',