diff --git a/packages/grafana-ui/src/components/RadialGauge/RadialArcPath.tsx b/packages/grafana-ui/src/components/RadialGauge/RadialArcPath.tsx index 2afd63a0777..29841113167 100644 --- a/packages/grafana-ui/src/components/RadialGauge/RadialArcPath.tsx +++ b/packages/grafana-ui/src/components/RadialGauge/RadialArcPath.tsx @@ -29,6 +29,7 @@ interface RadialArcPathPropsWithGuideDot extends RadialArcPathPropsBase { type RadialArcPathProps = RadialArcPathPropsBase | RadialArcPathPropsWithGuideDot; +const DOT_START_MIN_ANGLE_DEG = 5; const DOT_OPACITY = 0.5; const DOT_RADIUS_FACTOR = 0.4; const MAX_DOT_RADIUS = 8; @@ -103,7 +104,7 @@ export const RadialArcPath = memo( {endpointColors && } - {guideDotColors && arcLengthDeg > 5 && ( + {guideDotColors && arcLengthDeg > DOT_START_MIN_ANGLE_DEG && ( )} {guideDotColors && }