fix(plugin-chart-echarts): [guage chart] filter indicator not shown (#1326)

This commit is contained in:
Stephen Liu 2021-09-01 23:52:01 +08:00 committed by Yongjie Zhao
parent 03b1db93c2
commit 6b1b1423b9

View File

@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
import { t, ChartMetadata, ChartPlugin } from '@superset-ui/core';
import { t, ChartMetadata, ChartPlugin, Behavior } from '@superset-ui/core';
import controlPanel from './controlPanel';
import transformProps from './transformProps';
import thumbnail from './images/thumbnail.png';
@ -33,6 +33,7 @@ export default class EchartsGaugeChartPlugin extends ChartPlugin<
controlPanel,
loadChart: () => import('./EchartsGauge'),
metadata: new ChartMetadata({
behaviors: [Behavior.INTERACTIVE_CHART],
category: t('KPI'),
credits: ['https://echarts.apache.org'],
description: t(