cli-candlestick-chart
cli-candlestick-chart copied to clipboard
example: tui-rs integration
Thanks you for this wonderful crate!
I'm trying to use it in tui-rs, another wonderful crate. And I did some (mininal) changes:
- render the chart into string, without
println!. - explicit
widthandheight, makingterminal_sizeoptional. - some cleanups (clippy, smaller output)
- add an example how to use it with
tui-rs.
I just hope it help, and it's totally fine if you close PR.