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

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...

UCC Framework: Discover Developer Toolkit for Building Technology Add-ons

The Next-Gen Toolkit for Splunk Technology Add-on Development The Universal Configuration Console (UCC) ...

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...