feat: more charts!

This commit is contained in:
tresabhi committed 2024-12-26 13:47:06 -06:00
1 parent eb95230a5f
commit d727ceaaf6
6 files changed
+82

No files matched your search

@@ -0,0 +1,15 @@
import { ResponsiveLine, type LineSvgProps } from '@nivo/line';
import { nivoTheme } from '../../core/nivo/theme';
export function ThemedLine(props: LineSvgProps) {
return (
<ResponsiveLine
colors={{ scheme: 'yellow_green_blue' }}
theme={nivoTheme}
margin={{ top: 50, right: 110, bottom: 50, left: 60 }}
enablePoints={true}
useMesh
{...props}
/>
);
}