canvas-linearlinechart
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -41,3 +41,3 @@ module.exports = canvasLinearLineChart; | ||
if (marker) { | ||
ctx.fillStyle = '#3bb2d0'; | ||
ctx.fillStyle = '#ddd'; | ||
ctx.fillRect(xScale(marker[0]), 0, 3, chartHeight + margin); | ||
@@ -53,3 +53,3 @@ } | ||
if (data[2] && data[2].focus) { | ||
ctx.strokeStyle = '#3bb2d0'; | ||
ctx.strokeStyle = '#ddd'; | ||
r = 6; | ||
@@ -70,3 +70,3 @@ } | ||
if (xAnchor > (width - labelWidthH)) xAnchor = width - labelWidthH; | ||
ctx.fillStyle = '#3bb2d0'; | ||
ctx.fillStyle = '#ddd'; | ||
ctx.font = 'bold 20px monospace'; | ||
@@ -73,0 +73,0 @@ ctx.textAlign = 'center'; |
{ | ||
"name": "canvas-linearlinechart", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "linear canvas chart", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2650