Skip to content

Commit

Permalink
feat(plugin-chart-echarts): subject fix tooltip format title (apache#956
Browse files Browse the repository at this point in the history
)
  • Loading branch information
maloun96 authored and zhaoyongjie committed Nov 17, 2021
1 parent 871d19b commit 5c6cbf2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export default function transformProps(chartProps: ChartProps): EchartsProps {
const value: number = !richTooltip ? params.value : params[0].value[0];
const prophetValue = !richTooltip ? [params] : params;

const rows: Array<string> = [`${smartDateFormatter(value)}`];
const rows: Array<string> = [`${xAxisFormatter(value)}`];
const prophetValues: Record<string, ProphetValue> = extractProphetValuesFromTooltipParams(
prophetValue,
);
Expand Down

0 comments on commit 5c6cbf2

Please sign in to comment.