Skip to content

Commit

Permalink
[ML] Fix latency chart legend label.
Browse files Browse the repository at this point in the history
  • Loading branch information
walterra committed Aug 26, 2021
1 parent 22e1b9c commit acc4caa
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,8 @@ export function TransactionDistributionChart({
fieldName !== undefined &&
fieldValue !== undefined && (
<AreaSeries
id={`apmTransactionDistributionChartAreaSeries${fieldName}${fieldValue}`}
// id is used as the label for the legend
id={`${fieldName}:${fieldValue}`}
xScaleType={ScaleType.Log}
yScaleType={ScaleType.Log}
data={histogram}
Expand Down

0 comments on commit acc4caa

Please sign in to comment.