sqshq / sampler

Tool for shell commands execution, visualization and alerting. Configured with a simple YAML file.
https://sampler.dev
GNU General Public License v3.0
12.88k stars 573 forks source link

Feature Request - Runchart legend position #28

Open allykzam opened 5 years ago

allykzam commented 5 years ago

Before the actual request, just want to say that like others, I've only known about this tool for a few days and I already love it. Thank you so much for building it!

For run charts, is it possible to add an option for which corner to anchor the legend to? Since the most recent data is on the right, the legend sometimes covers up some of that data.

sqshq commented 5 years ago

Hi @amazingant , I agree, current position might cover the most recent data. I'm trying to keep everything simple, so the adjustment of the position for a particular type of a component sounds a bit too sophisticated. I need to think about it. Maybe just move the legend on the top left?

allykzam commented 5 years ago

That would probably work for my use case, but the current behavior isn't a huge issue. Just means waiting a moment for the data to shift.

sqshq commented 5 years ago

Ok, let's keep the issue open for now, so others can vote/express their opinion on this.

andre-merzky commented 5 years ago

top-left would be great - equally simple to code (I think), and solves the problem (which I also face).