class

Crubbletea::Ntcharts::Barchart

Inherits Reference < Object

Constructors

new(width : Int32 = 40, height : Int32 = 10, axis_style : Lipgloss::Style = Lipgloss::Style.new.foreground("#888888"), label_style : Lipgloss::Style = Lipgloss::Style.new.foreground("#666666"), auto_max : Bool = true, bar_width : Int32 = 4, bar_gap : Int32 = 1, horizontal : Bool = false, show_axis : Bool = true)
Source

Instance methods

auto_max
Source
axis_style
Source
bar_gap
Source
bar_width
Source
canvas
Source
clear
Source
draw
Source
height
Source
horizontal
Source
label_style
Source
max_value
Source
push(bar : BarData) : Nil
Source
push_all(bars : Array(BarData)) : Nil
Source
resize(w : Int32, h : Int32) : Nil
Source
set_max(v : Float64) : Nil
Source
show_axis
Source
view
Source
width
Source

Nested types