refactor: Creates the VizType enum (#31193)

This commit is contained in:
Michael S. Molina
2024-11-29 10:05:02 -03:00
committed by GitHub
parent dbcb473040
commit 93ba8e16c3
138 changed files with 767 additions and 556 deletions

View File

@@ -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%',