mirror of
https://github.com/apache/superset.git
synced 2026-04-28 04:25:07 +00:00
feat(pie): add sort legend (#34323)
This commit is contained in:
@@ -29,7 +29,7 @@ import {
|
||||
sharedControls,
|
||||
} from '@superset-ui/chart-controls';
|
||||
import { DEFAULT_FORM_DATA } from './types';
|
||||
import { legendSection } from '../controls';
|
||||
import { legendSection, legendSortControl } from '../controls';
|
||||
|
||||
const {
|
||||
donut,
|
||||
@@ -119,6 +119,7 @@ const config: ControlPanelConfig = {
|
||||
},
|
||||
],
|
||||
...legendSection,
|
||||
[legendSortControl],
|
||||
// eslint-disable-next-line react/jsx-key
|
||||
[<ControlSubSectionHeader>{t('Labels')}</ControlSubSectionHeader>],
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user