Skip to content

Commit

Permalink
Fix #193: Error in graphics.go: undefined: chart.StyleShow.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cory Walker authored and Cory Walker committed Jan 28, 2020
1 parent 0a346d0 commit 47230f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions expreduce/graphics/graphics.go
Expand Up @@ -159,10 +159,10 @@ func Render(expr expreduceapi.Ex) (chart.Chart, error) {
Width: 360,
Height: 220,
XAxis: chart.XAxis{
Style: chart.StyleShow(),
Style: chart.Shown(),
},
YAxis: chart.YAxis{
Style: chart.StyleShow(),
Style: chart.Shown(),
},
}

Expand All @@ -176,7 +176,7 @@ func Render(expr expreduceapi.Ex) (chart.Chart, error) {
}

style := chart.Style{
Show: true,
Hidden: false,
StrokeColor: drawing.ColorBlack,
}
renderPrimitive(&graph, graphics.GetPart(1), &style)
Expand Down

0 comments on commit 47230f7

Please sign in to comment.