mirror of
https://github.com/ratatui-org/ratatui
synced 2024-11-10 07:04:17 +00:00
fe4eeab676
The `barchart` example has been split into two examples: `barchart` and `barchart-grouped`. The `barchart` example now shows a simple barchart with random data, while the `barchart-grouped` example shows a grouped barchart with fake revenue data. This simplifies the examples a bit so they don't cover too much at once. - Simplify the rendering functions - Fix several clippy lints that were marked as allowed --------- Co-authored-by: EdJoPaTo <rfc-conform-git-commit-email@funny-long-domain-label-everyone-hates-as-it-is-too-long.edjopato.de>
12 lines
325 B
VHS
12 lines
325 B
VHS
# This is a vhs script. See https://github.com/charmbracelet/vhs for more info.
|
|
# To run this script, install vhs and run `vhs ./examples/barchart.tape`
|
|
Output "target/barchart-grouped.gif"
|
|
Set Theme "Aardvark Blue"
|
|
Set Width 1200
|
|
Set Height 1000
|
|
Hide
|
|
Type "cargo run --example=barchart-grouped"
|
|
Enter
|
|
Sleep 1s
|
|
Show
|
|
Sleep 1s
|