You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2018/04/02 04:13:10 UTC

[incubator-superset] branch master updated: Add '.1%' to number format options (#4720)

This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 221b35f  Add '.1%' to number format options (#4720)
221b35f is described below

commit 221b35f36d1682c78c2c85d47827308b99d2cf43
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Sun Apr 1 21:13:07 2018 -0700

    Add '.1%' to number format options (#4720)
---
 superset/assets/javascripts/explore/stores/controls.jsx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/superset/assets/javascripts/explore/stores/controls.jsx b/superset/assets/javascripts/explore/stores/controls.jsx
index f0d00bf..3b23fb2 100644
--- a/superset/assets/javascripts/explore/stores/controls.jsx
+++ b/superset/assets/javascripts/explore/stores/controls.jsx
@@ -18,6 +18,7 @@ const D3_FORMAT_DOCS = 'D3 format syntax: https://github.com/d3/d3-format';
 const D3_FORMAT_OPTIONS = [
   ['.1s', '.1s | 12k'],
   ['.3s', '.3s | 12.3k'],
+  ['.1%', '.1% | 12.3%'],
   ['.3%', '.3% | 1234543.210%'],
   ['.4r', '.4r | 12350'],
   ['.3f', '.3f | 12345.432'],

-- 
To stop receiving notification emails like this one, please contact
maximebeauchemin@apache.org.