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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...