mirror of
https://github.com/apache/superset.git
synced 2026-04-23 18:14:56 +00:00
refactor: Creates the VizType enum (#31193)
This commit is contained in:
committed by
GitHub
parent
dbcb473040
commit
93ba8e16c3
@@ -26,6 +26,7 @@ import {
|
||||
NumberFormats,
|
||||
tooltipHtml,
|
||||
ValueFormatter,
|
||||
VizType,
|
||||
} from '@superset-ui/core';
|
||||
import type { CallbackDataParams } from 'echarts/types/src/util/types';
|
||||
import type { EChartsCoreOption } from 'echarts/core';
|
||||
@@ -231,7 +232,7 @@ export default function transformProps(
|
||||
|
||||
const series: FunnelSeriesOption[] = [
|
||||
{
|
||||
type: 'funnel',
|
||||
type: VizType.Funnel,
|
||||
...getChartPadding(showLegend, legendOrientation, legendMargin),
|
||||
animation: true,
|
||||
minSize: '0%',
|
||||
|
||||
Reference in New Issue
Block a user