feat: Implement support for currencies in more charts (#24594)

(cherry picked from commit d74d7eca23)
This commit is contained in:
Kamil Gabryjelski
2023-07-07 19:28:13 +02:00
committed by Michael S. Molina
parent 9a96d8cf8b
commit 6b366a2cff
18 changed files with 404 additions and 78 deletions

View File

@@ -23,6 +23,7 @@ import {
DataRecord,
getMetricLabel,
getColumnLabel,
getValueFormatter,
} from '@superset-ui/core';
import { EChartsCoreOption, GaugeSeriesOption } from 'echarts';
import { GaugeDataItemOption } from 'echarts/types/src/chart/gauge/GaugeSeries';
@@ -46,7 +47,6 @@ import { OpacityEnum } from '../constants';
import { getDefaultTooltip } from '../utils/tooltip';
import { Refs } from '../types';
import { getColtypesMapping } from '../utils/series';
import { getValueFormatter } from '../utils/valueFormatter';
const setIntervalBoundsAndColors = (
intervals: string,