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
9a82474a
ROOT
/
widgets
/
barchart
/
options.go
Search
History
165 lines
|
ISO-8859-1
|
4 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
Option
set
(*options)
option
set
(opts *options)
options
barChar
:
rune
barWidth
:
int
barGap
:
int
showValues
:
bool
barColors
:
[]cell.Color
labelColors
:
[]cell.Color
valueColors
:
[]cell.Color
labels
:
[]string
newOptions
()
:
*options
DefaultChar
Char
(ch rune)
:
Option
BarWidth
(width int)
:
Option
DefaultBarGap
BarGap
(width int)
:
Option
ShowValues
()
:
Option
DefaultBarColor
BarColors
(colors []cell.Color)
:
Option
DefaultLabelColor
LabelColors
(colors []cell.Color)
:
Option
Labels
(labels []string)
:
Option
DefaultValueColor
ValueColors
(colors []cell.Color)
:
Option
*options
validate
()
:
error
All occurrences
Please wait...
Page is in error, reload to recover