Josh McKinney
f7af8a3863
style: reformat imports ( #219 )
...
Order imports by std, external, crate and group them by crate
2023-06-12 05:07:15 +00:00
Orhun Parmaksız
ed12ab16e0
chore(cargo): update project metadata ( #94 )
2023-03-17 17:03:49 +01:00
Kian-Meng Ang
e10f62663e
docs: fix typos ( #90 )
2023-03-16 18:56:50 +05:30
theogilbert
853d9047b0
feat(widgets/chart): add option to control alignment of axis labels ( #568 )
...
* feat(chart): allow custom alignment of first X-Axis label
* refactor(chart): rename ambiguous function parameter
* feat(chart): allow custom alignment of Y-Axis labels
* refactor(chart): refactor axis test cases
* refactor(chart): rename minor variable
* fix(chart): force centered x-axis label near Y-Axis
* fix(chart): fix subtract overflow on small rendering area
* refactor(chart): rename alignment property
* refactor(chart): merge two nested conditions
* refactor(chart): decompose x labels rendering loop
2021-12-23 19:02:10 +01:00
Florian Dehau
34a2be6458
fix(widgets/chart): remove panics with long axis labels
2021-08-01 15:08:53 +02:00
Florian Dehau
eb1e3be722
fix(widgets/block): make Block::inner return more accurate results on small areas
2020-12-13 17:21:10 +01:00
Florian Dehau
c4cd0a5f31
fix(widgets/chart): use the correct style to draw legend and axis titles
...
Before this change, the style of the points drawn in the graph area could reused to draw the
title of the axis and the legend. Now the style of these components put on top of the graph area
is solely based on the widget style.
2020-09-27 19:12:35 +02:00
Florian Dehau
88c4b191fb
feat(text): add new text primitives
2020-07-10 22:59:24 +02:00
Florian Dehau
fdbea9e2ee
fix(widgets/canvas): avoid panic on zero-width bounds
2020-07-05 14:02:11 +02:00
Alexander Batischev
8c2ee0ed85
feat(terminal): Add after-draw() cursor control to Frame ( #91 ) ( #309 )
2020-06-15 22:57:23 +02:00
Florian Dehau
4fe647df0a
refactor(tests): rename integration tests to be able to call group of tests
2020-05-21 21:59:39 +02:00
Florian Dehau
a00350ab54
refactor(tests): rename test files and use the new TestBackend::assert_buffer
method
2020-05-21 21:59:39 +02:00