ratatui/examples
Hichem 60150f6236
feat(barchart): set custom text value in the bar (#309)
for now the value is converted to a string and then printed. in many
cases the values are too wide or double values. so it make sense
to set a custom value text instead of the default behavior.

this patch suggests to add a method
"fn text_value(mut self, text_value: String)"
to the Bar, which allows to override the value printed in the bar

Signed-off-by: Ben Fekih, Hichem <hichem.f@live.de>
2023-07-14 04:38:54 +00:00
..
demo feat(prelude): add a prelude (#304) 2023-07-10 22:59:01 +00:00
barchart.rs feat(barchart): set custom text value in the bar (#309) 2023-07-14 04:38:54 +00:00
block.rs feat(prelude): add a prelude (#304) 2023-07-10 22:59:01 +00:00
calendar.rs feat(prelude): add a prelude (#304) 2023-07-10 22:59:01 +00:00
canvas.rs feat(prelude): add a prelude (#304) 2023-07-10 22:59:01 +00:00
chart.rs feat(prelude): add a prelude (#304) 2023-07-10 22:59:01 +00:00
custom_widget.rs feat(prelude): add a prelude (#304) 2023-07-10 22:59:01 +00:00
gauge.rs feat(prelude): add a prelude (#304) 2023-07-10 22:59:01 +00:00
hello_world.rs feat(prelude): add a prelude (#304) 2023-07-10 22:59:01 +00:00
inline.rs feat(prelude): add a prelude (#304) 2023-07-10 22:59:01 +00:00
layout.rs feat(prelude): add a prelude (#304) 2023-07-10 22:59:01 +00:00
list.rs feat(prelude): add a prelude (#304) 2023-07-10 22:59:01 +00:00
panic.rs feat(prelude): add a prelude (#304) 2023-07-10 22:59:01 +00:00
paragraph.rs feat(prelude): add a prelude (#304) 2023-07-10 22:59:01 +00:00
popup.rs feat(prelude): add a prelude (#304) 2023-07-10 22:59:01 +00:00
scrollbar.rs feat(prelude): add a prelude (#304) 2023-07-10 22:59:01 +00:00
sparkline.rs feat(prelude): add a prelude (#304) 2023-07-10 22:59:01 +00:00
table.rs feat(prelude): add a prelude (#304) 2023-07-10 22:59:01 +00:00
tabs.rs feat(prelude): add a prelude (#304) 2023-07-10 22:59:01 +00:00
user_input.rs feat(examples): user_input example cursor movement (#302) 2023-07-13 10:41:10 +00:00