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
v0.6.0
ROOT
/
widgets
/
linechart
/
linechart.go
Search
History
329 lines
|
ISO-8859-1
|
9 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
seriesValues
values
:
[]float64
min
:
float64
max
:
float64
seriesCellOpts
:
[]cell.Option
xLabelsSet
:
bool
xLabels
:
map[int]string
newSeriesValues
(values []float64)
:
*seriesValues
LineChart
mu
:
sync.Mutex
series
:
map[string]*seriesValues
yAxis
:
*axes.Y
opts
:
*options
xLabels
:
map[int]string
New
(opts ...Option)
:
*LineChart
SeriesOption
set
(*seriesValues)
seriesOption
set
(sv *seriesValues)
SeriesCellOpts
(co ...cell.Option)
:
SeriesOption
SeriesXLabels
(labels map[int]string)
:
SeriesOption
*LineChart
Series
(label string, values []float64, opts ...SeriesOption)
:
error
Draw
(cvs *canvas.Canvas)
:
error
drawAxes
(cvs *canvas.Canvas, xd *axes.XDetails, yd *axes.YDetails)
:
error
drawSeries
(cvs *canvas.Canvas, xd *axes.XDetails, yd *axes.YDetails)
:
error
Keyboard
(k *terminalapi.Keyboard)
:
error
Mouse
(m *terminalapi.Mouse)
:
error
minSize
()
:
image.Point
Options
()
:
widgetapi.Options
maxPoints
()
:
int
All occurrences
Please wait...
Page is in error, reload to recover