Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
newheaven918 committed Apr 10, 2015
1 parent bd31a4c commit bcaa99d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion chart.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@

package termui

import "fmt"
import (
"fmt"
"math"
)

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

Expand Down

0 comments on commit bcaa99d

Please sign in to comment.