Skip to content

Commit 0fc5672

Browse files
authored
Fix X coord for Compute Spilling Info (#14591)
1 parent 168fe9a commit 0fc5672

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/public/lib/ydb_cli/common/plan2svg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1614,7 +1614,7 @@ void TPlan::PrintSvg(ui64 maxTime, ui32& offsetY, TStringBuilder& background, TS
16141614
PrintStageSummary(background, canvas, Config.SummaryLeft, Config.SummaryWidth, y0, INTERNAL_HEIGHT, s->MaxMemoryUsage, Config.Palette.MemMedium, Config.Palette.MemLight, textSum, tooltip, taskCount);
16151615

16161616
if (s->SpillingComputeBytes && s->SpillingComputeBytes->Details.Sum) {
1617-
auto x1 = Config.HeaderWidth + GAP_X + Config.SummaryWidth + - INTERNAL_GAP_X;
1617+
auto x1 = Config.SummaryLeft + Config.SummaryWidth - INTERNAL_GAP_X;
16181618
auto x0 = x1 - textSum.size() * INTERNAL_TEXT_HEIGHT * 7 / 10;
16191619
background
16201620
<< "<g><title>";

0 commit comments

Comments
 (0)