Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

canvas-linearlinechart

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

canvas-linearlinechart - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

6

index.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc