mirror of
https://github.com/apache/superset.git
synced 2026-04-07 10:31:50 +00:00
Temporal X Axis values are not properly displayed if the time column has a custom label defined (#20819)
This commit is contained in:
@@ -173,7 +173,8 @@ export default function transformProps(
|
||||
Object.values(rawSeries).map(series => series.name as string),
|
||||
);
|
||||
const isAreaExpand = stack === AreaChartExtraControlsValue.Expand;
|
||||
const xAxisDataType = dataTypes?.[xAxisCol];
|
||||
const xAxisDataType = dataTypes?.[xAxisCol] ?? dataTypes?.[xAxisOrig];
|
||||
|
||||
const xAxisType = getAxisType(xAxisDataType);
|
||||
const series: SeriesOption[] = [];
|
||||
const formatter = getNumberFormatter(
|
||||
|
||||
Reference in New Issue
Block a user