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
b60c1c5f
ROOT
/
widgets
/
linechart
/
linechart.go
Search
History
548 lines
|
ISO-8859-1
|
16 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.RWMutex
series
:
map[string]*seriesValues
yMin
:
float64
yMax
:
float64
capacity
:
int
opts
:
*options
xLabels
:
map[int]string
zoom
:
*zoom.Tracker
New
(opts ...Option)
:
(*LineChart, error)
SeriesOption
set
(*seriesValues)
seriesOption
set
(sv *seriesValues)
SeriesCellOpts
(co ...cell.Option)
:
SeriesOption
SeriesXLabels
(labels map[int]string)
:
SeriesOption
minMax
(values []float64)
:
(x, y float64)
*LineChart
yMinMax
()
:
(float64, float64)
ValueCapacity
()
:
int
Series
(label string, values []float64, opts ...SeriesOption)
:
error
xDetails
(cvs *canvas.Canvas, reqYWidth, min, max int)
:
(*axes.XDetails, error)
xDetailsForCap
(cvs *canvas.Canvas, bc *braille.Canvas, xd *axes.XDetails, yd *axes.YDetails)
:
(*axes.XDetails, error)
axesDetails
(cvs *canvas.Canvas)
:
(*axes.XDetails, *axes.YDetails, error)
Draw
(cvs *canvas.Canvas, meta *widgetapi.Meta)
:
error
drawAxes
(cvs *canvas.Canvas, xd *axes.XDetails, yd *axes.YDetails)
:
error
graphAr
(cvs *canvas.Canvas, xd *axes.XDetails, yd *axes.YDetails)
:
image.Rectangle
drawSeries
(cvs *canvas.Canvas, xd *axes.XDetails, yd *axes.YDetails)
:
(*axes.XDetails, error)
highlightRange
(bc *braille.Canvas, hRange *zoom.Range)
:
error
Keyboard
(k *terminalapi.Keyboard)
:
error
Mouse
(m *terminalapi.Mouse)
:
error
minSize
()
:
image.Point
Options
()
:
widgetapi.Options
maxXValue
()
:
int
All occurrences
Please wait...
Page is in error, reload to recover