crash.software
Projects
Pull Requests
Issues
Builds
termdash
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
termdash
Files
🤬
Sign In
9a82474a
ROOT
/
widgets
/
sparkline
/
sparkline.go
Search
History
254 lines
|
ISO-8859-1
|
6 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
SparkLine
data
:
[]int
lastWidth
:
int
mu
:
sync.Mutex
opts
:
*options
New
(opts ...Option)
:
(*SparkLine, error)
*SparkLine
Draw
(cvs *canvas.Canvas, meta *widgetapi.Meta)
:
error
ValueCapacity
()
:
int
Add
(data []int, opts ...Option)
:
error
Clear
()
Keyboard
(k *terminalapi.Keyboard)
:
error
Mouse
(m *terminalapi.Mouse)
:
error
area
(cvs *canvas.Canvas)
:
image.Rectangle
minSize
()
:
image.Point
Options
()
:
widgetapi.Options
All occurrences
Please wait...
Page is in error, reload to recover