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

Display only one RG on hover in Bar view (stacked) #11

Closed
martinhesdahl opened this issue Jan 28, 2019 · 4 comments
Closed

Display only one RG on hover in Bar view (stacked) #11

martinhesdahl opened this issue Jan 28, 2019 · 4 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@martinhesdahl
Copy link

We have around 20 RG's showing in the Azure Cost Bar (stacked) view. When I hover over one day I see a summary of the entire day. But I would like to see only the RG that I'm hovering over. A configuration boolean to be able to do this is also possible.

Gr Martin

@keesschollaart81 keesschollaart81 self-assigned this Jan 28, 2019
@keesschollaart81 keesschollaart81 added the enhancement New feature or request label Jan 28, 2019
@keesschollaart81 keesschollaart81 added this to the v1.5.0 milestone Jan 28, 2019
@keesschollaart81
Copy link
Owner

Would it also be OK if the make the hover-ed RG bold/underlined? (since I expect/assume that >20 labels will be an edge case)

@martinhesdahl
Copy link
Author

Yes that would be a great improvement!

@keesschollaart81 keesschollaart81 modified the milestones: v1.5.0, v1.8.0 Feb 24, 2019
@keesschollaart81
Copy link
Owner

Ok, for release 1.5 I've solved it a bit differently. ChartJs has a couple of 'tooltip-interactions', depending on the number of labels and the height of the widget is switch between 'index' and 'point'. Index if the number of values is low and there is enough space in the widget, otherwise point. This is basically the solution you proposed! :-)

@keesschollaart81
Copy link
Owner

Now available with release v1.5.0

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