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!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...