mirror of
https://github.com/apache/superset.git
synced 2026-05-12 11:25:56 +00:00
Temporal X Axis values are not properly displayed if the time column has a custom label defined (#20819)
(cherry picked from commit 51869f32ac)
This commit is contained in:
committed by
Elizabeth Thompson
parent
43b8f18a21
commit
8c2ca2d8d8
@@ -170,7 +170,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