diff options
author | Hor911 <hor911@ydb.tech> | 2025-02-16 02:01:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-16 02:01:10 +0300 |
commit | 0fc5672f94482c8d6e6afba9e34db7ed66a6c0fb (patch) | |
tree | 3897f4a77fd955054bded4994b5aa28577c5c132 | |
parent | 168fe9ae4e7af9cf1df124afff02d15c5ade33d7 (diff) | |
download | ydb-0fc5672f94482c8d6e6afba9e34db7ed66a6c0fb.tar.gz |
Fix X coord for Compute Spilling Info (#14591)
-rw-r--r-- | ydb/public/lib/ydb_cli/common/plan2svg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/public/lib/ydb_cli/common/plan2svg.cpp b/ydb/public/lib/ydb_cli/common/plan2svg.cpp index 12392da827..dbf1a8c90d 100644 --- a/ydb/public/lib/ydb_cli/common/plan2svg.cpp +++ b/ydb/public/lib/ydb_cli/common/plan2svg.cpp @@ -1614,7 +1614,7 @@ void TPlan::PrintSvg(ui64 maxTime, ui32& offsetY, TStringBuilder& background, TS PrintStageSummary(background, canvas, Config.SummaryLeft, Config.SummaryWidth, y0, INTERNAL_HEIGHT, s->MaxMemoryUsage, Config.Palette.MemMedium, Config.Palette.MemLight, textSum, tooltip, taskCount); if (s->SpillingComputeBytes && s->SpillingComputeBytes->Details.Sum) { - auto x1 = Config.HeaderWidth + GAP_X + Config.SummaryWidth + - INTERNAL_GAP_X; + auto x1 = Config.SummaryLeft + Config.SummaryWidth - INTERNAL_GAP_X; auto x0 = x1 - textSum.size() * INTERNAL_TEXT_HEIGHT * 7 / 10; background << "<g><title>"; |