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

flot-plugins

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flot-plugins - npm Package Compare versions

Comparing version 3.7.1 to 3.8.0

10

dist/source/NationalInstruments/jquery.flot.annotations.js

@@ -131,2 +131,3 @@ /* The MIT License

ctx.font = this._annotations[i].font;
let formattedText = this._annotations[i].contentFormatter(this._annotations[i].label);

@@ -155,2 +156,3 @@ let offset = this._calcOffset(plot, ctx, this._annotations[i]);

var ctx = plot.getCanvas().getContext("2d");
ctx.font = annotation.font;
let offset = this._calcOffset(plot, ctx, annotation);

@@ -175,2 +177,3 @@ let bounds = this._calcBounds(plot, ctx, annotation, formattedText, offset);

ctx.font = this._annotations[i].font;
let formattedText = this._annotations[i].contentFormatter(this._annotations[i].label);

@@ -236,6 +239,6 @@ let offset = this._calcOffset(plot, ctx, this._annotations[i]);

if (arrowDirn.includes('e')) {
offset.x = -al;
offset.x = al;
}
if (arrowDirn.includes('w')) {
offset.x = al;
offset.x = -al;
}

@@ -398,6 +401,6 @@

case 'e':
x = x - width;
y = y - height / 2;
break;
case 'w':
x = x - width;
y = y - height / 2;

@@ -439,3 +442,2 @@ break;

ctx.save();
ctx.font = annotation.font;
ctx.fillStyle = annotation.color;

@@ -442,0 +444,0 @@ ctx.textAlign = annotation.textAlign;

2

package.json
{
"name": "flot-plugins",
"version": "3.7.1",
"version": "3.8.0",
"description": "A collection of plug-ins for flot charts",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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