Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Commit

Permalink
feat(plugin-chart-echarts): subject fix tooltip format title
Browse files Browse the repository at this point in the history
  • Loading branch information
maloun96 committed Feb 12, 2021
1 parent 59283de commit c5859b7
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 c5859b7

Please sign in to comment.