Open joseaburt opened 1 month ago
npm install chart.js import { Line } from 'react-chartjs-2';
const data = { labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'], datasets: [ { label: 'My First dataset', backgroundColor: 'rgba(75,192,192,0.4)', borderColor: 'rgba(75,192,192,1)', data: [65, 59, 80, 81, 56, 55, 40], }, ], };
function MyChart() {
return
export default MyChart;
Hey man!here the code and fix the bug.
Describe the bug
When install the charts the app theme get broken set all components in dark and others in light
Affected component/components
all components
How to reproduce
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Before submitting