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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...