Dashboards & Visualizations

remove values from bars and not from line on a chart

architkhanna
Path Finder

I have a chart visualisation (of splunk) where i have used stacked bars and two trend lines to show backlog and average ticket inflow per month.
I would like to know if there is a way that I can show data values only on the lines and not on the bars.

TIA.

0 Karma

techiesid
SplunkTrust
SplunkTrust

Hi Archit,

Can you try the below option in your bar chart and see,

<option name="charting.chart.showDataLabels">none</option>

https://docs.splunk.com/Documentation/Splunk/8.0.0/Viz/ChartConfigurationReference#Bar_chart_propert...

Sid

architkhanna
Path Finder

Hi Sid,

This will remove data from both bars and line.
I was trying to have it on just the line.

0 Karma

techiesid
SplunkTrust
SplunkTrust

Yeah. In that case you need to play with css. As there is no defualt option provided by splunk regarding this.

Please find below the answer for similar request. You can refer that,

https://answers.splunk.com/answers/610389/how-to-display-values-only-for-chart-overlay-field.html

Sid

0 Karma
.conf21 CFS Extended through 5/20!

Don't miss your chance
to share your Splunk
wisdom in-person or
virtually at .conf21!

Call for Speakers has
been extended through
Thursday, 5/20!