mirror of
https://github.com/apache/superset.git
synced 2026-04-18 07:35:09 +00:00
add number format to pivot table (#2703)
* modify pivot table number format * lint code * lint code * lint * lint * change variable name * add number format to pivot table * clean * fix code climate
This commit is contained in:
committed by
Maxime Beauchemin
parent
818251fc85
commit
d79a45ff32
@@ -550,7 +550,8 @@ export const controls = {
|
||||
type: 'SelectControl',
|
||||
freeForm: true,
|
||||
label: 'Number format',
|
||||
default: D3_TIME_FORMAT_OPTIONS[0],
|
||||
renderTrigger: true,
|
||||
default: '.3s',
|
||||
choices: D3_TIME_FORMAT_OPTIONS,
|
||||
description: D3_FORMAT_DOCS,
|
||||
},
|
||||
|
||||
@@ -286,6 +286,7 @@ const visTypes = {
|
||||
controlSetRows: [
|
||||
['groupby', 'columns'],
|
||||
['metrics', 'pandas_aggfunc'],
|
||||
['number_format'],
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user