I don't like too much the value on top of the chart area, but as an option of course possible.
I think it should definitely have layout options to use without label as single widget in group and as regular widget, label included. And then maybe single row which does respect the row height. That last of course is full of compromise cases.
One issue this node will have is the "silent performance killer".
There's no way the node can do the aggregation or any other kind of data optimization. But same time to restrict data amount or period makes it kinda of pointless.
Well known that even with bold and red written explanation in readme is just fancy echo in canyon.
Unlike the D1 version of the sparkline, the Vuetify version does NOT build the array for you in the background so it takes a lot of code to take a value and keep a rolling array for display.
ie, it works, but it is anything but low/no code.
Edit for those looking for the D1 Node: node-red-contrib-ui-value-trail (node) - Node-RED
It has some shortfalls, about 4 years back when I asked for some tweaks, it was a pretty clear 'No'.
I tested the D2 version and found it too frustrating to use.
The OP image looks a bit far from a sparkline for my site/use case.
I'd like the D1 version, even with the few options it had, ported across to D2.
It is quicker / cleaner to use and worked much better than anything else I've tested (my site needs about 58 of them on the home page, so there is a pretty big pent up need for a D2 version).
Definitely agree here. The Sparkline in Vuetify works okay for static data, but from the brief play I had about 3 months ago, was not an easy exercise to widget-ify it
Looking like tiny curve the base still is bunch of data points.
How much of data should it handle, keep in memory, or even maybe aggregate for user so the input can be straight from sensor.
And then with 40 of such on dashboard fingers crossed it doesn't turn the little PI zero to be fancy glowing Christmas decoration.
This without hard rules makes it performance killer and with hard rules just as the current vuetify component is.
That's the difference. It is not chart - the tool for analysis for what the user usually can configure or adjust the precision component to get fine enough readout.
It is sparkline - very downsampled overview of property movement in some process.