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
Get Updates on the Splunk Community!

Dashboard Studio Challenge - Learn New Tricks, Showcase Your Skills, and Win Prizes!

Reimagine what you can do with your dashboards. Dashboard Studio is Splunk’s newest dashboard builder to ...

Introducing Edge Processor: Next Gen Data Transformation

We get it - not only can it take a lot of time, money and resources to get data into Splunk, but it also takes ...

Take the 2021 Splunk Career Survey for $50 in Amazon Cash

Help us learn about how Splunk has impacted your career by taking the 2021 Splunk Career Survey. Last year’s ...