Reporting

Hide items in chart legend - Dashboard Studio

hendricksonet
Loves-to-Learn Everything

I have data that has multiple columns that contain timings for particular tasks on particular dates.  I want to hide all but the last column when in a line chart.  The sticking point is I want the line chart to still show the x-axis labels "process" names from the previous data collected, it just wouldn't connect the lines until that task is complete.  This will allow the chart to show progression.  I believe found the CSS method for doing this, but I'm not sure how to accomplish this in dashboard studio code.

Example:

Process08/24/2023 10:15:4509/24/2023 11:15:4410/24/2023 10:45:00
Task12.441.448.55
Task21.4418.448.43
Task38.224.24 
Task44.448.12 

 

The idea would be that the line chart would only show the last column in the list above, but still show all the process tasks on the x-axis.  The example I created in paint below shows the X axis has the labels still, but the lines haven't been connected yet since those haven't completed yet.

SplunkChart.jpg

0 Karma
Get Updates on the Splunk Community!

Demo Day: Strengthen Your SOC with Splunk Enterprise Security 8.1

Today’s threat landscape is more complex than ever. Security operation centers (SOCs) are overwhelmed with ...

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...