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
ed738319
ROOT
/
widgets
/
linechart
/
internal
/
axes
/
scale.go
Search
History
335 lines
|
ISO-8859-1
|
10 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
YScaleMode
String
()
:
string
yScaleModeNames
YScaleModeAnchored
:
YScaleMode
YScaleModeAdaptive
YScale
Min
:
*Value
Max
:
*Value
Step
:
*Value
GraphHeight
:
int
brailleHeight
:
int
NewYScale
(min, max float64, graphHeight, nonZeroDecimals int, mode YScaleMode)
:
(*YScale, error)
XScale
Min
:
*Value
Max
:
*Value
Step
:
*Value
GraphWidth
:
int
brailleWidth
:
int
NewXScale
(min, max int, graphWidth, nonZeroDecimals int)
:
(*XScale, error)
positionToY
(pos int, height int)
:
(int, error)
yToPosition
(y int, height int)
:
(int, error)
*YScale
String
()
:
string
PixelToValue
(y int)
:
(float64, error)
ValueToPixel
(v float64)
:
(int, error)
CellLabel
(y int)
:
(*Value, error)
*XScale
String
()
:
string
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