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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...