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
/
axes
/
label.go
Search
History
236 lines
|
ISO-8859-1
|
6 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
Label
Value
:
*Value
Pos
:
image.Point
yLabels
(scale *YScale, labelWidth int)
:
([]*Label, error)
rowLabelArea
(row int, labelWidth int)
:
image.Rectangle
rowLabel
(scale *YScale, y int, labelWidth int)
:
(*Label, error)
xSpace
cur
:
int
max
:
int
graphZero
:
image.Point
newXSpace
(graphZero image.Point, graphWidth int)
:
*xSpace
xLabels
(scale *XScale, graphZero image.Point, customLabels map[int]string)
:
([]*Label, error)
colLabel
(scale *XScale, space *xSpace, labelNum int, customLabels map[int]string)
:
(*Label, error)
*xSpace
String
()
:
string
Remaining
()
:
int
Relative
()
:
image.Point
LabelPos
()
:
image.Point
Sub
(size int)
:
error
All occurrences
Please wait...
Page is in error, reload to recover