Commit 3706149
committed
Replace smoothie fork with custom graph component
Aims for identical behaviour except for the recording lines which now show the
recording in-progress rather than filling in the gap between start and end when
the recording finishes.
As a very minor tweak, for non-dashed lines we extend the line to the triangle
rather than having the constant "catching up" effect from the next data sample.
x/y/z move into the graph component rather than being rendered separately by
React. That way they can have their position calculated without hacks.
We keep a large enough buffer of data points to cope with window resizes
(7000px+) without left truncating the graph when the window grows.1 parent ecee438 commit 3706149
File tree
5 files changed
+443
-322
lines changed- src
- components
5 files changed
+443
-322
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | 90 | | |
92 | 91 | | |
93 | 92 | | |
| |||
0 commit comments