metabase / metabase/metabase

Ability to set maximum decimal places in charts

Open
#47,989 1 comment 0 reactions 0 assignees View on GitHub
.Team/DashViz Type:New Feature Visualization/Chart Settings Visualization/Charts
Dominant language
Clojure
Stars
49.3k
Forks
6.8k
Avg merge
1d 13h
Merged PRs (30d)
653

Description

**Is your feature request related to a problem? Please describe.**
I want to have a pie chart that shows percentages to the nearest 2 decimal places. As it stands, I can set the visualisation to have a minimum number of decimal places - but there's no clear way to set a maximum, the shown number of decimal places depends purely on the size of the chart.

**Describe the solution you'd like**
I would like a setting in the visualisation settings of any chart to specify the max number of decimal places alongside the other style settings
![image](https://github.com/user-attachments/assets/b278bd21-3e76-4ce1-a7a6-91646e0d2521)

**Describe alternatives you've considered**
I cannot think of other alternatives for this

**How important is this feature to you?**
This is quite important for accessibility and consistency in reporting

**Additional context**
Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

Research direction

Start by locating the chart visualization settings and the existing minimum-decimal-place behavior described in the issue. Add a maximum-decimal-place setting for charts, including pie charts, and verify that displayed percentages respect it while existing style settings continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.