This commit is contained in:
gizak 2015-04-10 10:40:57 -04:00
parent 9292a5f43d
commit 6a92b4408c

View File

@ -4,7 +4,10 @@
package termui package termui
import "fmt" import (
"fmt"
"math"
)
// only 16 possible combinations, why bother // only 16 possible combinations, why bother
var braillePatterns = map[[2]int]rune{ var braillePatterns = map[[2]int]rune{
@ -77,6 +80,8 @@ func NewLineChart() *LineChart {
lc.DotStyle = '•' lc.DotStyle = '•'
lc.axisXLebelGap = 2 lc.axisXLebelGap = 2
lc.axisYLebelGap = 1 lc.axisYLebelGap = 1
lc.bottomValue = math.Inf(1)
lc.topValue = math.Inf(-1)
return lc return lc
} }