All Apps and Add-ons

How to make tooltips in Treemap always visible in Treemap - Custom Visualization?

claudio_manig
Communicator

Hi Splunkers

I wonder whether there is a way to make tooltips in a treemap always visible so you don't have to hover over to see the value-

Any ideas?

0 Karma

Kenshiro70
Path Finder

Bad news all around:

  1. There's no Simple XML setting.
  2. I looked at the element on the page (in Chrome, right-click and choose Inspect), and the text is not there so you can't add CSS to change the display from hidden to visible.
  3. I looked at the javascript code and realized it's not an easy change either. SVGs don't do text wrapping by default, so those labels are overlaid onto the grid separately. The problem is that their position is calculated based on the "zoomed in" layout, so both the positions and the sizing would be wrong.

It's technically possible to do it, but you'd need to make non-trivial modifications to the visualization logic. Sorry for the bad news; I was hoping to do the same thing.

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...