diff --git a/linechart.go b/linechart.go index f7eea28..84e7e28 100644 --- a/linechart.go +++ b/linechart.go @@ -35,7 +35,7 @@ var braillePatterns = map[[2]int]rune{ var lSingleBraille = [4]rune{'\u2840', '⠄', '⠂', '⠁'} 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. /* lc := termui.NewLineChart() @@ -87,7 +87,7 @@ func NewLineChart() *LineChart { } // 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 { buf := NewBuffer()