This is an automated email from the ASF dual-hosted git repository. sfirke pushed a commit to branch boxplot-expand-values in repository https://gitbox.apache.org/repos/asf/superset.git
commit 120a92728ec53f21d15421bce83647d9b5a6fee2 Author: Sam Firke <[email protected]> AuthorDate: Fri Jan 31 15:34:59 2025 -0500 add two new options for boxplot percentiles --- .../plugins/plugin-chart-echarts/src/BoxPlot/controlPanel.ts | 2 ++ superset-frontend/plugins/plugin-chart-echarts/src/BoxPlot/types.ts | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/BoxPlot/controlPanel.ts b/superset-frontend/plugins/plugin-chart-echarts/src/BoxPlot/controlPanel.ts index e2208892f7..518a5587e1 100644 --- a/superset-frontend/plugins/plugin-chart-echarts/src/BoxPlot/controlPanel.ts +++ b/superset-frontend/plugins/plugin-chart-echarts/src/BoxPlot/controlPanel.ts @@ -94,7 +94,9 @@ const config: ControlPanelConfig = { ['Tukey', t('Tukey')], ['Min/max (no outliers)', t('Min/max (no outliers)')], ['2/98 percentiles', t('2/98 percentiles')], + ['5/95 percentiles', t('5/95 percentiles')], ['9/91 percentiles', t('9/91 percentiles')], + ['10/90 percentiles', t('10/90 percentiles')], ], }, }, diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/BoxPlot/types.ts b/superset-frontend/plugins/plugin-chart-echarts/src/BoxPlot/types.ts index 6cdc57a26d..ecb22764cf 100644 --- a/superset-frontend/plugins/plugin-chart-echarts/src/BoxPlot/types.ts +++ b/superset-frontend/plugins/plugin-chart-echarts/src/BoxPlot/types.ts @@ -36,7 +36,9 @@ export type BoxPlotFormDataWhiskerOptions = | 'Tukey' | 'Min/max (no outliers)' | '2/98 percentiles' - | '9/91 percentiles'; + | '5/95 percentiles' + | '9/91 percentiles' + | '10/90 percentiles'; export type BoxPlotFormXTickLayout = | '45°'
