refactor: consolidating ColorSchemeEnum settings into one place (#37591)

This commit is contained in:
SBIN2010
2026-02-08 10:04:20 +03:00
committed by GitHub
parent 3521f191b2
commit c4e7c3b03b
15 changed files with 19 additions and 35 deletions

View File

@@ -39,6 +39,7 @@ import {
shouldSkipMetricColumn,
isRegularMetric,
isPercentMetric,
ColorSchemeEnum,
} from '@superset-ui/chart-controls';
import { t } from '@apache-superset/core';
import {
@@ -56,7 +57,6 @@ import {
import { GenericDataType } from '@apache-superset/core/api/core';
import { isEmpty, last } from 'lodash';
import { PAGE_SIZE_OPTIONS, SERVER_PAGE_SIZE_OPTIONS } from './consts';
import { ColorSchemeEnum } from './types';
/**
* Generate comparison column names for a given column.