fix(plugin-chart-table): Invalid d3Formatter on String column (#23515)

This commit is contained in:
JUST.in DO IT
2023-03-28 15:25:35 -07:00
committed by GitHub
parent 80d1e4ffa3
commit 5d910aa2e2
3 changed files with 17 additions and 1 deletions

View File

@@ -144,6 +144,20 @@ const advanced: TableChartProps = {
...basicFormData,
metrics: ['sum__num'],
percent_metrics: ['pct_nice'],
column_config: {
name: {
d3NumberFormat: '.3s',
},
sum__num: {
d3NumberFormat: '.3s',
},
pct_nice: {
d3NumberFormat: '.3s',
},
'abc.com': {
d3NumberFormat: '.3s',
},
},
},
queriesData: [
{