Skip to content

Commit

Permalink
fix(explore): Time column label not formatted when GENERIC_X_AXES ena…
Browse files Browse the repository at this point in the history
…bled (apache#21294)
  • Loading branch information
kgabryje authored Sep 1, 2022
1 parent 742dbdd commit c3a00d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c3a00d4

Please sign in to comment.