Skip to content

Commit

Permalink
feat(barchart): render charts smaller than 3 lines (#532)
Browse files Browse the repository at this point in the history
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 #513

Signed-off-by: Ben Fekih, Hichem <hichem.f@live.de>
  • Loading branch information
karthago1 committed Sep 26, 2023
1 parent 3bda372 commit 301366c
Show file tree
Hide file tree
Showing 2 changed files with 327 additions and 244 deletions.

0 comments on commit 301366c

Please sign in to comment.