diff --git a/front_end/src/components/charts/primitives/chart_value_box.tsx b/front_end/src/components/charts/primitives/chart_value_box.tsx index 4c58c34055..785120ae73 100644 --- a/front_end/src/components/charts/primitives/chart_value_box.tsx +++ b/front_end/src/components/charts/primitives/chart_value_box.tsx @@ -39,8 +39,7 @@ function getRectX( adjustedX - (textAlignToSide ? PLACEMENT_OFFSET_HORIZONTAL - : PLACEMENT_OFFSET_VERTICAL) + - textWidth - + : PLACEMENT_OFFSET_VERTICAL) - TEXT_PADDING / 2 ); case "right":