Skip to content

Prevent duplicate bars when redrawing vertical charts - #131

Open
Rajvira10 wants to merge 1 commit into
mkaz:mainfrom
Rajvira10:fix/vertical-chart-redraw
Open

Rajvira10 wants to merge 1 commit into
mkaz:mainfrom
Rajvira10:fix/vertical-chart-redraw

Conversation

@Rajvira10

@Rajvira10 Rajvira10 commented Oct 16, 2026 •

Copy link
Copy Markdown

Drawing the same vertical chart again currently duplicates its bars and value labels because rendering buffers retain the previous output. Reset those buffers before each draw so repeated rendering produces the same chart.

Validation, rebased on current main:

  • Three regression cases fail before the fix, while the six horizontal/stacked controls pass.
  • The CI checks pass locally: ruff check, mypy termgraph/ and the full test suite (99 passed).

@Rajvira10
Rajvira10 force-pushed the fix/vertical-chart-redraw branch from ead26c7 to 1ca9cc0 Compare December 4, 2026 16:56
@Rajvira10
Rajvira10 marked this pull request as ready for review December 4, 2026 16:56
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