Dashboards & Visualizations

Is chart overlay always a line graph or can it be changed it to something else?

efavreau
Motivator

I'm looking to reverse the axis on this graph, but keep the visualization the same. I can't find a way to do this, because chart overlay seems to only use a line. Is it possible to force chart overlay to use something besides a line?
a column chart with 2 lines placed over it

###

If this reply helps you, an upvote would be appreciated.
0 Karma
1 Solution

gokadroid
Motivator

Hope this helps:

1) Overlay seems to be line always
2) How far away from the edge an overlay will be dependent on:

  • What visualization has been chosen, for example same data when represented as line graph or area chart will overlay the line to the edge.
  • How many items are being graphed for each x axis element in case of bar chart and how many x axis points are there in total. For example if you had Volume, Volume(squared) and Volume(cubed) bars for each Sunday (and you were plotting only two Sundays) then the line might be even further away from the edge as now one x axis element (first Sunday) need to plot three bars and the line point which shall represent overlay shall be the middle point of "distance" from the edge of axis till first grouping plot end. If you were to plot these for say 20 Sundays now, the line will shift closer, given the bars will be slimmer and the "distance" used to plot the three bars per Sunday will be slimmer.

What is the expected output when you mention I'm looking to reverse the axis on this graph, but keep the visualization the same.

View solution in original post

0 Karma

dbcase
Motivator

try partial=f on your timechart like this

your search here |timechart partial=f count by whatever

0 Karma

efavreau
Motivator

Thank you. Result was no different.

###

If this reply helps you, an upvote would be appreciated.
0 Karma

dbcase
Motivator

Hmmm, I guessing gokadroid is correct. It appears to be the width of the columns that is shorting the lines in the overlay. What happens if you select other types of graphs for the primary (column)?

0 Karma

gokadroid
Motivator

Hope this helps:

1) Overlay seems to be line always
2) How far away from the edge an overlay will be dependent on:

  • What visualization has been chosen, for example same data when represented as line graph or area chart will overlay the line to the edge.
  • How many items are being graphed for each x axis element in case of bar chart and how many x axis points are there in total. For example if you had Volume, Volume(squared) and Volume(cubed) bars for each Sunday (and you were plotting only two Sundays) then the line might be even further away from the edge as now one x axis element (first Sunday) need to plot three bars and the line point which shall represent overlay shall be the middle point of "distance" from the edge of axis till first grouping plot end. If you were to plot these for say 20 Sundays now, the line will shift closer, given the bars will be slimmer and the "distance" used to plot the three bars per Sunday will be slimmer.

What is the expected output when you mention I'm looking to reverse the axis on this graph, but keep the visualization the same.

0 Karma

efavreau
Motivator

Point 2 does not help, but does makes sense. Thank you. To answer your question, the duration axis would be on the left, but still represented by lines, and the Volume axis would be on the right, and still represented by columns.

###

If this reply helps you, an upvote would be appreciated.
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...