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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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