spelling: capacity
This commit is contained in:
parent
3c68203c6d
commit
058b18fae8
@ -35,7 +35,7 @@ var braillePatterns = map[[2]int]rune{
|
|||||||
var lSingleBraille = [4]rune{'\u2840', '⠄', '⠂', '⠁'}
|
var lSingleBraille = [4]rune{'\u2840', '⠄', '⠂', '⠁'}
|
||||||
var rSingleBraille = [4]rune{'\u2880', '⠠', '⠐', '⠈'}
|
var rSingleBraille = [4]rune{'\u2880', '⠠', '⠐', '⠈'}
|
||||||
|
|
||||||
// LineChart has two modes: braille(default) and dot. Using braille gives 2x capicity as dot mode,
|
// LineChart has two modes: braille(default) and dot. Using braille gives 2x capacity as dot mode,
|
||||||
// because one braille char can represent two data points.
|
// because one braille char can represent two data points.
|
||||||
/*
|
/*
|
||||||
lc := termui.NewLineChart()
|
lc := termui.NewLineChart()
|
||||||
@ -87,7 +87,7 @@ func NewLineChart() *LineChart {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// one cell contains two data points
|
// one cell contains two data points
|
||||||
// so the capicity is 2x as dot-mode
|
// so the capacity is 2x as dot-mode
|
||||||
func (lc *LineChart) renderBraille() Buffer {
|
func (lc *LineChart) renderBraille() Buffer {
|
||||||
buf := NewBuffer()
|
buf := NewBuffer()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user