mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
refactor: Creates the VizType enum (#31193)
This commit is contained in:
committed by
GitHub
parent
dbcb473040
commit
93ba8e16c3
@@ -21,6 +21,7 @@ import {
|
||||
ChartProps,
|
||||
SqlaFormData,
|
||||
supersetTheme,
|
||||
VizType,
|
||||
} from '@superset-ui/core';
|
||||
import transformProps, {
|
||||
getIntervalBoundsAndColors,
|
||||
@@ -30,7 +31,7 @@ import { EchartsGaugeChartProps } from '../../src/Gauge/types';
|
||||
describe('Echarts Gauge transformProps', () => {
|
||||
const baseFormData: SqlaFormData = {
|
||||
datasource: '26__table',
|
||||
viz_type: 'gauge_chart',
|
||||
viz_type: VizType.Gauge,
|
||||
metric: 'count',
|
||||
adhocFilters: [],
|
||||
rowLimit: 10,
|
||||
|
||||
Reference in New Issue
Block a user