|
@ -1512,7 +1512,7 @@ Graph3d.prototype._redrawDataGrid = function() { |
|
|
else { |
|
|
else { |
|
|
v = 1; |
|
|
v = 1; |
|
|
fillStyle = this._hsv2rgb(h, s, v); |
|
|
fillStyle = this._hsv2rgb(h, s, v); |
|
|
strokeStyle = this.axisColor; |
|
|
|
|
|
|
|
|
strokeStyle = this.axisColor; // TODO: should be customizable
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
else { |
|
|
else { |
|
@ -1530,7 +1530,7 @@ Graph3d.prototype._redrawDataGrid = function() { |
|
|
ctx.lineTo(top.screen.x, top.screen.y); |
|
|
ctx.lineTo(top.screen.x, top.screen.y); |
|
|
ctx.closePath(); |
|
|
ctx.closePath(); |
|
|
ctx.fill(); |
|
|
ctx.fill(); |
|
|
ctx.stroke(); |
|
|
|
|
|
|
|
|
ctx.stroke(); // TODO: only draw stroke when strokeWidth > 0
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|