Jens Krause
7ad9c29eac
feat(linegauge): customized symbols ( #1601 )
...
With this PR any symbol (`&str`) can be used to render `filled` and
`unfilled` parts of `LineGauge` now. Before that change, only
[`symbols::line::Set`](https://docs.rs/ratatui/latest/ratatui/symbols/line/struct.Set.html )
was accepted.
Note: New methods are introduced to define those symbols:
`filled_symbol` and `unfilled_symbol`. The method
[`line_set`](https://docs.rs/ratatui/latest/ratatui/widgets/struct.LineGauge.html#method.line_set )
is still there, but marked as `deprecated`.

2025-01-22 19:56:22 -08:00
Orhun Parmaksız
dafb716f9d
docs(widgets): add example for grouped barchart ( #1566 )
...
related #1512
---------
Co-authored-by: Josh McKinney <joshka@users.noreply.github.com>
2024-12-12 20:42:41 +03:00
Orhun Parmaksız
ed5dd73084
docs(widgets): add example for tabs ( #1559 )
...
related #1512
Also removes the tabs example from ratatui crate since it overlaps with
this new example in terms of functionality and it was not following the
general theme of other examples.
2024-12-09 15:22:03 -08:00
Orhun Parmaksız
fab532171d
docs(widgets): add example for scrollbar ( #1545 )
...
Related to: #1512
2024-12-08 02:28:18 -08:00
Orhun Parmaksız
898aef6e2f
docs(widgets): add example for list ( #1542 )
...
Related to: #1512
2024-12-08 02:27:19 -08:00
Orhun Parmaksız
452366aa9e
docs(widgets): add example for sparkline ( #1556 )
...
related #1512
Also removes the sparkline example from ratatui crate since this example
is a simplified and easier to understand version of that
2024-12-07 18:35:45 +03:00
Orhun Parmaksız
6ddde0e8a8
docs(widgets): add example for table ( #1557 )
...
related #1512
2024-12-07 18:21:01 +03:00
Orhun Parmaksız
93ad6b828c
docs(widgets): update values in chart example ( #1558 )
...
better stonks
2024-12-07 18:20:49 +03:00
Orhun Parmaksız
15f442a71e
docs(widgets): add example for paragraph ( #1544 )
...
related #1512
Also removes the paragraph example from `ratatui` since these examples
are more or less the same.
2024-12-04 21:16:04 +03:00
Orhun Parmaksız
17bba14540
docs(widgets): move the logo example to widgets ( #1543 )
...
related #1512
Also updates the code to make it consistent with the other examples
2024-12-03 22:30:35 +03:00
Orhun Parmaksız
f2451e7f1e
docs(widgets): add example for gauge ( #1539 )
...
related #1512
2024-12-03 12:04:29 +03:00
Orhun Parmaksız
4f0a8b21af
docs(widgets): add example for canvas ( #1533 )
...
related #1512
2024-12-02 17:21:53 +03:00
Orhun Parmaksız
91147c4d75
docs(widgets): add example for chart ( #1536 )
...
stonks
2024-12-01 20:34:57 +03:00
Orhun Parmaksız
6dd25a3111
docs(widgets): add example for calendar ( #1532 )
...
related #1512
2024-12-01 14:12:06 +03:00
Orhun Parmaksız
d291042e69
docs(block): revise the block example ( #1520 )
...
- Moves the block example from `ratatui` to `ratatui-widgets`
- Simplifies the example (bordered, styled, custom borders)
see #1512
2024-11-26 22:38:40 +03:00
Josh McKinney
99ac005b06
docs(widgets): Add simple barchart example ( #1511 )
2024-11-24 01:32:54 -08:00