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!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...