Skip to content

Commit

Permalink
Temporal X Axis values are not properly displayed if the time column …
Browse files Browse the repository at this point in the history
…has a custom label defined (apache#20819)

(cherry picked from commit 51869f3)
  • Loading branch information
diegomedina248 authored and Fahrenheit35 committed Nov 11, 2022
1 parent 6c37ed1 commit c51fd2a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit c51fd2a

Please sign in to comment.