Skip to content

Commit ca5da1f

Browse files
committed
feat(graph): add axis labels #68
close #68
1 parent 27ab15b commit ca5da1f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/components/Graph.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,15 @@ export default function Graph() {
1717
t: 50,
1818
pad: 4,
1919
},
20+
xaxis: {
21+
title: {
22+
text: 'seconds',
23+
},
24+
},
2025
yaxis: {
26+
title: {
27+
text: 'volts',
28+
},
2129
range: [-0.25, 5.25],
2230
},
2331
};

0 commit comments

Comments
 (0)