Dashboards & Visualizations

Bar Chart Scale

hartfoml
Motivator

I have a search that is showing 18 results over 30 days. on the days that I find results I get either one or 2 count. Yet when I show this on a bar chart I get a scale across the bottom in _time and a scale along the side in tenths (.1,.2,.3) all the way to (1.9,2.0). I want the side scale to be only whole numbers and not tenths.

Tags (2)
1 Solution

jtrucks
Splunk Employee
Splunk Employee

In the chart view, open "Formatting options" then "Y-axis" and enter 0 in "Min value" and enter 3 (or higher) in "Max value".

However, if you put this into a dashboard, do "Edit Visualization" and in the "Y-axis" section you can enter a value for "Major unit" which you can use to enter "1" for whole numbers.

--
Jesse Trucks
Minister of Magic

View solution in original post

jtrucks
Splunk Employee
Splunk Employee

In the chart view, open "Formatting options" then "Y-axis" and enter 0 in "Min value" and enter 3 (or higher) in "Max value".

However, if you put this into a dashboard, do "Edit Visualization" and in the "Y-axis" section you can enter a value for "Major unit" which you can use to enter "1" for whole numbers.

--
Jesse Trucks
Minister of Magic

hartfoml
Motivator

Thanks this works

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...