class

Crubbletea::Ntcharts::Linechart

Inherits Reference < Object

Constructors

new(width : Int32 = 60, height : Int32 = 15, min_x : Float64 = 0.0, max_x : Float64 = 100.0, min_y : Float64 = 0.0, max_y : Float64 = 100.0, style : Lipgloss::Style = Lipgloss::Style.new.foreground("#7571F9"), axis_style : Lipgloss::Style = Lipgloss::Style.new.foreground("#888888"), label_style : Lipgloss::Style = Lipgloss::Style.new.foreground("#666666"), x_step : Int32 = 2, y_step : Int32 = 2)
Source

Instance methods

axis_style
Source
canvas
Source
clear
Source
draw
Source
height
Source
label_style
Source
push(x : Float64, y : Float64) : Nil
Source
push_all(pts : Array(Float64Point)) : Nil
Source
style
Source
view
Source
width
Source