Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Crubbletea::Ntcharts::Sparkline
Inherits
Reference
<
Object
Constructors
new
(width :
Int32
= 40, height :
Int32
= 8, style :
Lipgloss::Style
=
Lipgloss::Style
.new, auto_max :
Bool
= true, max_value :
Float64
= 1.0)
Source
Instance methods
auto_max
Source
canvas
Source
clear
Source
draw
Source
height
Source
max_value
Source
push
(v :
Float64
) :
Nil
Source
push_all
(values :
Array
(
Float64
)) :
Nil
Source
resize
(w :
Int32
, h :
Int32
) :
Nil
Source
set_max
(v :
Float64
) :
Nil
Source
style
Source
view
Source
width
Source