Closed aluveitie closed 4 years ago
Hi @aluveitie still thanks for the contribute. If you check back to previous submission you can see that the logic is similar. All lines are evenly spaced. I have again intentionally made it spaced sort of randomized.
I am awared of the overflowing bug tho, but was too lazy to apply a fix.
I can update it to be also spaced out a little 'randomized'
How's this?
It's more consistent across all three graphs :)
@trulyspinach My last commit made it unevenly spaced, more like the previous solution. I agree this way it looks much nicer than the evenly spaced graphs.
Since frequency, temperature and power are always within a limited/fixed range I think the min/max approach is a fitting solution and much simpler to extend later.
While working on multiple lines per graph the sortedDataPoints made things unnecessary complicated. It also leads to lines going out of the graph after running for some time in a narrow band.
The new implementation has a few advantages:
before:
after: