diff --git a/static/app/views/ddm/chart/useMetricChartSamples.tsx b/static/app/views/ddm/chart/useMetricChartSamples.tsx index 9d4a820afb0581..75215cca5e6a29 100644 --- a/static/app/views/ddm/chart/useMetricChartSamples.tsx +++ b/static/app/views/ddm/chart/useMetricChartSamples.tsx @@ -189,7 +189,7 @@ export function useMetricChartSamples({ value: yPosition, }, ], - z: timeseries.length + 1, + z: baseProps.series.length + 1, }; }); } @@ -244,7 +244,6 @@ export function useMetricChartSamples({ valueRect, xAxis, yAxis, - timeseries.length, ] );