Splunk Search

Hide primaryAxisTitle and secondaryAxisTitle on Bar/Column chart in dashboard

clincg
Path Finder

Does anyone know how to hide the primaryAxisTitle and secondaryAxisTitle using either the simple or advanced xml for dashboard? I've tried setting the primaryAxisTitle.text to empty, but it still takes up spaces on the graph. Thanks!

Tags (1)
1 Solution

sideview
SplunkTrust
SplunkTrust

just like you would set the "primaryAxisTitle.text" to "time" or whatever (this varies slightly depending on whether you're talking about the simplified or the advanced XML)

but you can set both primaryAxisTitle.height and primaryAxisTitle.margin to 0 and this will reclaim that vertical space.

We helped someone a long time ago whittle away every single scrap of extra space - both in the view CSS as well as the module CSS, as well as this PropertyManager stuff inside the swf itself -- the customer needed a view for their NOC cramming in as many charts and visualizations as possible and they didnt want any space wasted on titles or margins or labels or anything.

View solution in original post

sideview
SplunkTrust
SplunkTrust

just like you would set the "primaryAxisTitle.text" to "time" or whatever (this varies slightly depending on whether you're talking about the simplified or the advanced XML)

but you can set both primaryAxisTitle.height and primaryAxisTitle.margin to 0 and this will reclaim that vertical space.

We helped someone a long time ago whittle away every single scrap of extra space - both in the view CSS as well as the module CSS, as well as this PropertyManager stuff inside the swf itself -- the customer needed a view for their NOC cramming in as many charts and visualizations as possible and they didnt want any space wasted on titles or margins or labels or anything.

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...