Skip to content

Commit 301366c

Browse files
authored
feat(barchart): render charts smaller than 3 lines (#532)
The bar values are not shown if the value width is equal the bar width and the bar is height is less than one line Add an internal structure `LabelInfo` which stores the reserved height for the labels (0, 1 or 2) and also whether the labels will be shown. Fixes ratatui-org#513 Signed-off-by: Ben Fekih, Hichem <[email protected]>
1 parent 3bda372 commit 301366c

File tree

2 files changed

+327
-244
lines changed

2 files changed

+327
-244
lines changed

0 commit comments

Comments
 (0)