Skip to content

Commit

Permalink
feat(barchart): allow to render charts smaller than 3 lines
Browse files Browse the repository at this point in the history
Add an internal structure `LabelInfo`, which stores the reserved height
for the labels (0, 1 or 2) and also the state of the labels,
whether they will be shown or not.

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

fixes #513

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

0 comments on commit 2906948

Please sign in to comment.