a color type that actually works.
This commit is contained in:
parent
0da2b41a9d
commit
1357950324
10 changed files with 181 additions and 69 deletions
2
chart.go
2
chart.go
|
|
@ -350,7 +350,7 @@ func (c Chart) drawSeries(r Renderer, canvasBox Box, index int, s Series, xrange
|
|||
var x, y int
|
||||
|
||||
fill := s.GetStyle().GetFillColor()
|
||||
if !ColorIsZero(fill) {
|
||||
if !fill.IsZero() {
|
||||
r.SetFillColor(fill)
|
||||
r.MoveTo(x0+cx, y0+cy)
|
||||
for i := 1; i < s.Len(); i++ {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue