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

@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
import { ChartProps, supersetTheme } from '@superset-ui/core';
import { ChartProps, supersetTheme, VizType } from '@superset-ui/core';
import {
LegendOrientation,
LegendType,
@@ -76,7 +76,7 @@ const formData: EchartsMixedTimeseriesFormData = {
groupbyB: ['gender'],
seriesType: EchartsTimeseriesSeriesType.Line,
seriesTypeB: EchartsTimeseriesSeriesType.Bar,
viz_type: 'mixed_timeseries',
viz_type: VizType.MixedTimeseries,
forecastEnabled: false,
forecastPeriods: [],
forecastInterval: 0,