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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Your Feedback. Our Roadmap. Visit the PX Feedback Booth at .conf26

You use Splunk every day, come and help shape what's next.  Save Your Seat: Product-Focused Sessions at ...

Agentic SOC Triage: Investigating Splunk ES Notables with MCP Server and a Local LLM

The Problem: Too Many Alerts, Too Little Context Security operations teams running Splunk Enterprise Security ...

Painting a Clearer Picture: Creating Cross-Domain Visibility with AI Canvas

Watch Now Painting a Clearer Picture: Creating Cross-Domain Visibility with AI Canvas     Do you ever feel ...