Skip to content

[Studio] fix: render zero throughput without visible bars - #629

Open
yx9o wants to merge 1 commit into
apache:rocketmq-studiofrom
yx9o:dev-628
Open

[Studio] fix: render zero throughput without visible bars#629
yx9o wants to merge 1 commit into
apache:rocketmq-studiofrom
yx9o:dev-628

Conversation

@yx9o

@yx9o yx9o commented Jul 26, 2026

Copy link
Copy Markdown

What is the purpose of the change

Fixes #628 .

Prevent MiniBar from rendering zero throughput values as visible 4px bars, which can make idle periods appear active.

Brief changelog

  • Render zero values with 0px height.
  • Preserve the minimum 4px height for positive values.
  • Add regression tests for all-zero and mixed throughput data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant