1 2 3 4 5 6 7 8 9 10
use tui; use tui::barchart; let bar1 = bar( #style: &style(#fg: `Cyan), #label: &line("Sales"), &42 ); bar_chart(&[bar_group(#label: line("Q1"), [bar1])])