Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blank time axis/0 ticks possible? #5

Open
cyberlussi opened this issue Mar 6, 2020 · 2 comments
Open

Blank time axis/0 ticks possible? #5

cyberlussi opened this issue Mar 6, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@cyberlussi
Copy link

Hi,

Just playing around with this nice UI element. It got what I need, but I like to get the element in my dashboard as small as possible (i.e. at the moment I plan 2x1). I do not need the time axis, but it looks like it cannot be hidden as minimum of 2 ticks is set. Would it be possible to make this configurable/hideable so that just the colorized bar shows up?

@hotNipi
Copy link
Owner

hotNipi commented Mar 7, 2020

I think it is possible, There will be plenty of free space then, what do you think it could be used?
Maybe this way:
currently the label can not be shown if size is 1 unit height.
If timeline removed, the label can be shown. And if label is left empty, then widget can fill whole available area.
Could this work for you?

@cyberlussi
Copy link
Author

I recognized the hidden label at 1 unit hight; if not empty, this can be shown - good idea. If empty, also yes, the bar may fill everything. Then every option can be taken.

Another more complex idea is the option of allowing 2 bars just like in ui-level "Pair Horizontal".

@hotNipi hotNipi self-assigned this Mar 11, 2020
@hotNipi hotNipi added the enhancement New feature or request label Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants