mirror of
https://github.com/apache/superset.git
synced 2026-04-25 11:04:48 +00:00
feat(plugin-chart-echarts): add aggregate total for the Pie/Donuct chart (#19622)
This commit is contained in:
@@ -183,6 +183,18 @@ const config: ControlPanelConfig = {
|
||||
},
|
||||
},
|
||||
],
|
||||
[
|
||||
{
|
||||
name: 'show_total',
|
||||
config: {
|
||||
type: 'CheckboxControl',
|
||||
label: t('Show Total'),
|
||||
default: false,
|
||||
renderTrigger: true,
|
||||
description: t('Whether to display the aggregate count'),
|
||||
},
|
||||
},
|
||||
],
|
||||
// eslint-disable-next-line react/jsx-key
|
||||
[<h1 className="section-header">{t('Pie shape')}</h1>],
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user