chore(plugin-chart-echarts): add time section for gauge chart (#1063)

This commit is contained in:
maltoze 2021-04-17 20:45:17 +08:00 committed by Yongjie Zhao
parent 935c3af326
commit 1e27e65d23

View File

@ -18,11 +18,17 @@
*/
import React from 'react';
import { t, validateNonEmpty, validateInteger } from '@superset-ui/core';
import { sharedControls, ControlPanelConfig, D3_FORMAT_OPTIONS } from '@superset-ui/chart-controls';
import {
sharedControls,
ControlPanelConfig,
D3_FORMAT_OPTIONS,
sections,
} from '@superset-ui/chart-controls';
import { DEFAULT_FORM_DATA } from './types';
const config: ControlPanelConfig = {
controlPanelSections: [
sections.legacyRegularTime,
{
label: t('Query'),
expanded: true,