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

rusackas 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 f29d0fd  control to turn off table bar-chart backgrounds (#9500)
f29d0fd is described below

commit f29d0fd9f2f93cf27e55475c61130518060d17fc
Author: Evan Rusackas <e...@preset.io>
AuthorDate: Mon Apr 13 16:53:50 2020 -0700

    control to turn off table bar-chart backgrounds (#9500)
    
    * control to turn off table bar-chart backgrounds
    
    * flipping enable to disable, to support existing charts
    
    * lint :sparkles:
    
    * Turn ON to enable (reversing logic)
    
    * bumping big number chart
    
    * ling :sparkles:
---
 superset-frontend/package-lock.json                  |  6 +++---
 superset-frontend/package.json                       |  2 +-
 superset-frontend/src/explore/controlPanels/Table.js | 15 +++++++++++++++
 3 files changed, 19 insertions(+), 4 deletions(-)

diff --git a/superset-frontend/package-lock.json 
b/superset-frontend/package-lock.json
index 077a3a5..0acef30 100644
--- a/superset-frontend/package-lock.json
+++ b/superset-frontend/package-lock.json
@@ -8268,9 +8268,9 @@
       }
     },
     "@superset-ui/legacy-preset-chart-big-number": {
-      "version": "0.11.21",
-      "resolved": 
"https://registry.npmjs.org/@superset-ui/legacy-preset-chart-big-number/-/legacy-preset-chart-big-number-0.11.21.tgz";,
-      "integrity": 
"sha512-LvDrCfpNTUGaXFUvrd1vHFJqPsBZlva97Z/Wy8izn7ZRv7PrrsvxJ584mh+JBfPg2YiklYB7E2F18MN1NaJEmw==",
+      "version": "0.12.13",
+      "resolved": 
"https://registry.npmjs.org/@superset-ui/legacy-preset-chart-big-number/-/legacy-preset-chart-big-number-0.12.13.tgz";,
+      "integrity": 
"sha512-4TQzN702nyTL6tHgoa93HMcrUvKKqlE3Tm7Gxaa0uQEi+BKPuP77u957oZzZwJBR0SY81A6ASk0ztN90gpVsQg==",
       "requires": {
         "@data-ui/xy-chart": "^0.0.84",
         "@types/d3-color": "^1.2.2",
diff --git a/superset-frontend/package.json b/superset-frontend/package.json
index 1cf766b..fe19545 100644
--- a/superset-frontend/package.json
+++ b/superset-frontend/package.json
@@ -83,7 +83,7 @@
     "@superset-ui/legacy-plugin-chart-treemap": "^0.11.15",
     "@superset-ui/legacy-plugin-chart-word-cloud": "^0.11.15",
     "@superset-ui/legacy-plugin-chart-world-map": "^0.11.15",
-    "@superset-ui/legacy-preset-chart-big-number": "^0.11.21",
+    "@superset-ui/legacy-preset-chart-big-number": "^0.12.13",
     "@superset-ui/legacy-preset-chart-deckgl": "^0.2.3",
     "@superset-ui/legacy-preset-chart-nvd3": "^0.11.15",
     "@superset-ui/number-format": "^0.12.10",
diff --git a/superset-frontend/src/explore/controlPanels/Table.js 
b/superset-frontend/src/explore/controlPanels/Table.js
index f41717c..4c57335 100644
--- a/superset-frontend/src/explore/controlPanels/Table.js
+++ b/superset-frontend/src/explore/controlPanels/Table.js
@@ -183,6 +183,21 @@ export default {
             },
           },
         ],
+        [
+          {
+            name: 'show_cell_bars',
+            config: {
+              type: 'CheckboxControl',
+              label: t('Show Cell Bars'),
+              renderTrigger: true,
+              default: true,
+              description: t(
+                'Enable to display bar chart background elements in table 
columns',
+              ),
+            },
+          },
+          null,
+        ],
       ],
     },
   ],

Reply via email to