mirror of
https://github.com/apache/superset.git
synced 2026-04-27 03:55:47 +00:00
fix: drilling on the categorical xaxis on the stacked barchart v2 (#21844)
This commit is contained in:
@@ -29,6 +29,7 @@ import {
|
||||
TimeseriesChartDataResponseResult,
|
||||
t,
|
||||
getXAxis,
|
||||
AxisType,
|
||||
} from '@superset-ui/core';
|
||||
import { isDerivedSeries } from '@superset-ui/chart-controls';
|
||||
import { EChartsCoreOption, SeriesOption } from 'echarts';
|
||||
@@ -39,7 +40,6 @@ import {
|
||||
EchartsTimeseriesSeriesType,
|
||||
TimeseriesChartTransformedProps,
|
||||
OrientationType,
|
||||
AxisType,
|
||||
} from './types';
|
||||
import { DEFAULT_FORM_DATA } from './constants';
|
||||
import { ForecastSeriesEnum, ForecastValue } from '../types';
|
||||
@@ -451,5 +451,9 @@ export default function transformProps(
|
||||
legendData,
|
||||
onContextMenu,
|
||||
xValueFormatter: tooltipFormatter,
|
||||
xAxis: {
|
||||
label: xAxisCol,
|
||||
type: xAxisType,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user