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!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...