mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-06 16:24:29 +01:00
feat: more charts!
This commit is contained in:
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}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user