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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...