williaster opened a new pull request #4843: [formats] add better defaults for 
time + number formatting
URL: https://github.com/apache/incubator-superset/pull/4843
 
 
   This PR is all about making better default for time + number formatting 🚀  
It adds:
   
   - a more concise multi-format tick formatter. Here is the before and after 
(and you can play with it in [this observable 
notebook](https://beta.observablehq.com/d/cb85a1708c711939)):
     ![image 
1](https://user-images.githubusercontent.com/4496521/38965847-eb7f32fc-4333-11e8-94e9-e13794e8174c.png)
   
   - sets most default number formats to 1 decimal place instead of 3
   - reduces the number of y-axis ticks (to ~5), there is no need for ~10+ that 
nvd3 sets by default
   - rich tooltip => false by default, this makes tooltips look pretty bad, you 
can still hover over individual lines to see their values.
   
   @mistercrunch @hughhhh @john-bodley @graceguo-supercat @michellethomas 
@fabianmenges 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to