keesschollaart81 / AzureCostInsights.Marketplace

Azure Cost Insights - A widget for Azure DevOps (Maintenance repo)
https://marketplace.visualstudio.com/items?itemName=keesschollaart.AzureCostInsights
25 stars 6 forks source link

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

Closed martinhesdahl closed 5 years ago

martinhesdahl commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

Yes that would be a great improvement!

keesschollaart81 commented 5 years ago

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 commented 5 years ago

Now available with release v1.5.0