diff --git a/public/app/plugins/panel/timeseries/plugins/AnnotationsPlugin2.tsx b/public/app/plugins/panel/timeseries/plugins/AnnotationsPlugin2.tsx index 2ae4b1ad460..32b6da49ca8 100644 --- a/public/app/plugins/panel/timeseries/plugins/AnnotationsPlugin2.tsx +++ b/public/app/plugins/panel/timeseries/plugins/AnnotationsPlugin2.tsx @@ -69,7 +69,9 @@ export const AnnotationsPlugin2 = ({ const getColorByName = useTheme2().visualization.getColorByName; const annos = useMemo(() => { - let annos = annotations.filter((frame) => frame.name !== 'exemplar'); + let annos = annotations.filter( + (frame) => frame.name !== 'exemplar' && frame.length > 0 && frame.fields.some((f) => f.name === 'time') + ); if (newRange) { let isRegion = newRange.to > newRange.from;