Skip to content

Commit

Permalink
feat(plugin-chart-echarts): subject fix tooltip format title (#956)
Browse files Browse the repository at this point in the history
  • Loading branch information
maloun96 authored and zhaoyongjie committed Nov 26, 2021
1 parent b3f84f5 commit f11f2eb
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 f11f2eb

Please sign in to comment.