Dashboards & Visualizations

In Dashboard Studio, how do I hide labels in the bar chart?

DGilbert91
Explorer

Hi all,

I am having issues hiding some label tags on a bar chart in dashboard studio;

DGilbert91_0-1671160815167.png

Would like to hide the "app", "ABAP" and the x axis 0-100

 

I've been reading https://docs.splunk.com/Documentation/DashApp/0.9.0/DashApp/Comparison - bar chart options and implemented most things I see relevant below without any success.

 

Thanks,

Dan



 

Search:

| makeresults count=33
| eval app="ABAP"
| eval type="Green"
| append
[ makeresults count=24
| eval app="ABAP"
| eval type="Red" ]
| chart count by app, type
| table app Red Green

 

Code:

 

 

		"viz_A8xGX4KY": {
			"type": "splunk.bar",
			"dataSources": {
				"primary": "ds_rxzvxyTs_ds_D0zk0prm"
			},
			"title": "",
			"options": {
				"stackMode": "stacked100",
				"seriesColorsByField": {
					"Green": "#52D017",
					"Red": "#E41B17"
				},
				"legendDisplay": "off",
				"backgroundColor": "#152238",
				"xAxisTitleText": "",
				"axisTitleY.text": "",
				"axisTitleY2.text": "",
				"axisTitleX.visibility": "collapsed",
				"axisTitleY.visibility": "collapsed",
				"axisTitleY2.visibility": "collapsed",
				"axisY.scale": "",
				"axisY2.scale": "",
				"chart.showDataLabels": "none",
				"chart.overlayFields": "",
				"gridLinesY.showMajorLines": false,
				"gridLinesX.showMajorLines": false,
				"axisY.minimumNumber": "none"
			}
		}

 

 

 

Labels (2)
0 Karma

sbaekanz
Engager
"xAxisTitleVisibility": "hide" option hides the title.
{
    "type": "splunk.column",
    "options": {
        "stackMode": "stacked" ,
        "xAxisTitleVisibility": "hide"
    },
...
}
0 Karma
Get Updates on the Splunk Community!

Observability | How to Think About Instrumentation Overhead (White Paper)

Novice observability practitioners are often overly obsessed with performance. They might approach ...

Cloud Platform | Get Resiliency in the Cloud Event (Register Now!)

IDC Report: Enterprises Gain Higher Efficiency and Resiliency With Migration to Cloud  Today many enterprises ...

The Great Resilience Quest: 10th Leaderboard Update

The tenth leaderboard update (11.23-12.05) for The Great Resilience Quest is out >> As our brave ...