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
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...