Oh, wow. That was fast. I just updated to v0.2.3 and wanted to mention here that the graph didn’t show up anymore, just to see that you already released a bugfix release, really awesome!
It’s working fine now, now that I use v0.2.4. I do have to change some of my threshold colors to make them flow nicely into each other, but I’m really liking this!
New one!
How about move the color definition (including width, threshold and everything related to the color) on the entity definition line rather than the top level configuration.
This way it would be way easier to define colors per-entity and also play around with various threshold and everything else on a per-entity base.
Not sure how hard this would be to implement, I just keep thinking on how improve the view (and the configuration, why not) and this might be very helpful especially for less “coding experienced”
The problem I see with moving everything from the base to the individual entities is that it would be quite annoying having to specify for example line_width for every single entity instead of just once in the base.
It’s a good idea though, maybe move some of the options, or even better, have them available in the entity object as well as in the base. That’s actually what I did with color, you can now set color in the entity object and it will override the color options set in the base.
It would not be hard, just require some additional checks when deciding how and what to render.
I guess we could add width, unit and potentially color_thresholds (this one would require most work) to the entity object.
I think you do actually have a point, maybe leave the “general” one so that are sort of “baseline” if nothing different is specified on a per-entity base.
That will cover the annoying part (well, will remove it for good) and still give a lot of flexibility in terms of per-entity customization