Comments (7)
from metabase.
+1
from metabase.
Should they be rounded at all, or just raw toString
it?
from metabase.
Hmm. There's a case for smart rounding to a reasonable number of digits if
it's a float.
But there's also something to be said for getting as much info as we have
on a hover. Eg. if I'm hovering over two slices that are 0.88 and 0.87 it
would be good to distinguish between them on hover despite them looking the
same on the pie chart.
On Wed, Jul 29, 2015 at 2:38 PM, Tom Robinson [email protected]
wrote:
Should they be rounded at all, or just raw toString it?
—
Reply to this email directly or view it on GitHub
#588 (comment)
.
from metabase.
I left some comments on the PR, but IMO the solution progression should be 1) (do now) include the decimal if its part of the value and round it to 2 places, 2) (do later) give the user control to decide this.
The main problem right now is that if someone has a value like 0.78
it's showing as 0
in the tooltip, so we just need to get the accuracy back to a usable state. I don't think most people want to see values like 0.78393973238
so that's why rounding to 2 decimal places seems like a safe approach. Eventually users should be able to control this and decide if they want 1 decimal precision, 3 decimal places, etc.
from metabase.
That's reasonable, I'll point out that if our default treatment rounds it
to 2 significant places that's a much more robust solution than 2
decimal places, and reduces the number of cases where someone will be
forced to manually intervene and set the number of decimal places. This is
a case where we know enough to DoSmarterThings as we have all the numbers,
their magnitudes, the # of significant figures and # of decimal places in
each. Would much prefer to take advantage of that instead of adding a knob
down the road.
On Wed, Jul 29, 2015 at 3:52 PM, Allen Gilliland [email protected]
wrote:
I left some comments on the PR, but IMO the solution progression should be
- (do now) include the decimal if its part of the value and round it to 2
places, 2) (do later) give the user control to decide this.The main problem right now is that if someone has a value like 0.78 it's
showing as 0 in the tooltip, so we just need to get the accuracy back to
a usable state. I don't think most people want to see values like
0.78393973238 so that's why rounding to 2 decimal places seems like a
safe approach. Eventually users should be able to control this and decide
if they want 1 decimal precision, 3 decimal places, etc.—
Reply to this email directly or view it on GitHub
#588 (comment)
.
from metabase.
Think #796 fixes this. If we need to deal with edge cases, we'll pick through them as they come up.
from metabase.
Related Issues (20)
- Oracle syncr HOT 3
- Cannot tab through fields in Save Question modal
- Metabase Analytics - Dashboard Overview Filters link to Content instead of Dashboards
- Create an ENV Variable that allows you to setup when a query would timeout
- Welcome to Metabase logo is tiny
- Expression documentation popover renders white on white text
- Create a mock API to simulate JWT-based authentication for the embedding demo
- Ability to have chart sections and color them
- Sample Database doesn't start with any perms (on master) HOT 1
- No longer able to filter on specific dates HOT 3
- Null values in a pivot table can't be highlighted using the ' When Cell is Null' custom formatting condition HOT 2
- Support creating questions with joined metrics
- Pivot CSV exports not all groups
- occurs error when input a static string to expression in custom column HOT 1
- Query requests gets duplicated and cancelled with Error in Static Embedding HOT 2
- Create demo API and dataset for products and orders in the embedding demo
- Collection not showing in search result
- Metric not appearing in collections
- Metric display name includes breakouts
- Additional Customization Options for Time Series Axis
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metabase.