Skip to content

Commit

Permalink
Merge pull request #907 from qxqzx13/master
Browse files Browse the repository at this point in the history
fix:(Chart)fix some tooltip function
  • Loading branch information
scottsut authored Mar 1, 2022
2 parents ce68743 + 8301bfb commit b7057b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/app/utils/chartHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1096,7 +1096,7 @@ export function getSeriesTooltips4Rectangular2(
.concat(sizeConfigs || [])
.concat(infoConfigs || [])
.map(config =>
valueFormatter(config, row?.[chartDataSet.getFieldKey(config)]),
valueFormatter(config, row?.[chartDataSet.getFieldOriginKey(config)]),
);
return tooltips.join('<br />');
}
Expand All @@ -1123,7 +1123,7 @@ export function getSeriesTooltips4Polar2(
.concat(sizeConfigs || [])
.concat(infoConfigs || [])
.map(config =>
valueFormatter(config, row?.[chartDataSet.getFieldKey(config)]),
valueFormatter(config, row?.[chartDataSet.getFieldOriginKey(config)]),
);
return tooltips.join('<br />');
}
Expand Down

0 comments on commit b7057b9

Please sign in to comment.