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
60e0e5f9
ROOT
/
widgets
/
linechart
/
axes
/
scale.go
Search
History
266 lines
|
ISO-8859-1
|
8 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
YScale
Min
:
*Value
Max
:
*Value
Step
:
*Value
GraphHeight
:
int
brailleHeight
:
int
NewYScale
(min, max float64, graphHeight, nonZeroDecimals int)
:
(*YScale, error)
XScale
Min
:
*Value
Max
:
*Value
Step
:
*Value
GraphWidth
:
int
brailleWidth
:
int
NewXScale
(numPoints int, graphWidth, nonZeroDecimals int)
:
(*XScale, error)
positionToY
(pos int, height int)
:
(int, error)
yToPosition
(y int, height int)
:
(int, error)
*YScale
PixelToValue
(y int)
:
(float64, error)
ValueToPixel
(v float64)
:
(int, error)
CellLabel
(y int)
:
(*Value, error)
*XScale
PixelToValue
(x int)
:
(float64, error)
ValueToPixel
(v int)
:
(int, error)
ValueToCell
(v int)
:
(int, error)
CellLabel
(x int)
:
(*Value, error)
All occurrences
Please wait...
Page is in error, reload to recover