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 

* Turn ON to enable (reversing logic)

* bumping big number chart

* ling 
This commit is contained in:
Evan Rusackas 2020-04-13 16:53:50 -07:00 committed by GitHub
parent cf6422caf3
commit f29d0fd9f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 4 deletions

View File

@ -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",

View File

@ -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",

View File

@ -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,
],
],
},
],