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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...