mirror of
https://github.com/apache/superset.git
synced 2024-09-16 02:29:39 -04:00
fix(explore): Time column label not formatted when GENERIC_X_AXES enabled (#21294)
This commit is contained in:
parent
742dbdd0a5
commit
c3a00d43d0
@ -167,7 +167,7 @@ export default function transformProps(
|
||||
});
|
||||
|
||||
const dataTypes = getColtypesMapping(queriesData[0]);
|
||||
const xAxisDataType = dataTypes?.[xAxisCol];
|
||||
const xAxisDataType = dataTypes?.[xAxisCol] ?? dataTypes?.[xAxisOrig];
|
||||
const xAxisType = getAxisType(xAxisDataType);
|
||||
const series: SeriesOption[] = [];
|
||||
const formatter = getNumberFormatter(contributionMode ? ',.0%' : yAxisFormat);
|
||||
|
Loading…
Reference in New Issue
Block a user