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

chartjs-chart-box-plot

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chartjs-chart-box-plot - npm Package Compare versions

Comparing version 1.0.0-10 to 1.0.0-11

12

dist/element.js

@@ -7,2 +7,4 @@ 'use strict';

globalOpts.tooltips.enabled = false;
globalOpts.elements.rectangle = {

@@ -126,3 +128,3 @@ backgroundColor: globalOpts.defaultColor,

ctx.lineTo((rightX - leftX) / 2 + leftX, vm.maxV);
ctx.lineWidth = 2;
ctx.lineWidth = 1;
ctx.strokeStyle = 'rgb(245, 93, 93)';

@@ -132,3 +134,3 @@ ctx.stroke();

ctx.beginPath();
ctx.arc((rightX - leftX) / 2 + leftX, vm.maxV, 2.5, 0, 2 * Math.PI);
ctx.arc((rightX - leftX) / 2 + leftX, vm.maxV, 2, 0, 2 * Math.PI);
ctx.fillStyle = 'rgb(245, 93, 93)';

@@ -144,3 +146,3 @@ ctx.fill();

ctx.lineTo((rightX - leftX) / 2 + leftX, vm.minV);
ctx.lineWidth = 2;
ctx.lineWidth = 1;
ctx.strokeStyle = 'rgb(245, 93, 93)';

@@ -150,3 +152,3 @@ ctx.stroke();

ctx.beginPath();
ctx.arc((rightX - leftX) / 2 + leftX, vm.minV, 2.5, 0, 2 * Math.PI);
ctx.arc((rightX - leftX) / 2 + leftX, vm.minV, 2, 0, 2 * Math.PI);
ctx.fillStyle = 'rgb(245, 93, 93)';

@@ -221,2 +223,2 @@ ctx.fill();

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9lbGVtZW50LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJDaGFydCIsImdsb2JhbE9wdHMiLCJkZWZhdWx0cyIsImdsb2JhbCIsImVsZW1lbnRzIiwicmVjdGFuZ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HZhciBjb3JuZXJzID0gW1xuICAgICAgICBbbGVmdFgsIHZtLmJhc2VdLFxuICAgICAgICBbbGVmdFgsIHRvcF0sXG4gICAgICAgIFtyaWdodFgsIHRvcF0sXG4gICAgICAgIFtyaWdodFgsIHZtLmJhc2VdXG4gICAgICBdO1xuXG4gICAgICAvLyBGaW5kIGZpcnN0IChzdGFydGluZykgY29ybmVyIHdpdGggZmFsbGJhY2sgdG8gJ2JvdHRvbSdcbiAgICAgIHZhciBib3JkZXJzID0gWydib3R0b20nLCAnbGVmdCcsICd0b3AnLCAncmlnaHQnXTtcbiAgICAgIHZhciBzdGFydENvcm5lciA9IGJvcmRlcnMuaW5kZXhPZih2bS5ib3JkZXJTa2lwcGVkLCAwKTtcbiAgICAgIGlmIChzdGFydENvcm5lciA9PT0gLTEpIHtcbiAgICAgICAgc3RhcnRDb3JuZXIgPSAwO1xuICAgICAgfVxuXG4gICAgICBmdW5jdGlvbiBjb3JuZXJBdChpbmRleCkge1xuICAgICAgICByZXR1cm4gY29ybmVyc1soc3RhcnRDb3JuZXIgKyBpbmRleCkgJSA0XTtcbiAgICAgIH1cblxuICAgICAgLy8gRHJhdyByZWN0YW5nbGUgZnJvbSAnc3RhcnRDb3JuZXInXG4gICAgICB2YXIgY29ybmVyID0gY29ybmVyQXQoMCk7XG4gICAgICBjdHgubW92ZVRvKGNvcm5lclswXSwgY29ybmVyWzFdKTtcblxuICAgICAgZm9yICh2YXIgaSA9IDE7IGkgPCA0OyBpKyspIHtcbiAgICAgICAgY29ybmVyID0gY29ybmVyQXQoaSk7XG4gICAgICAgIGN0eC5saW5lVG8oY29ybmVyWzBdLCBjb3JuZXJbMV0pO1xuICAgICAgfVxuXG4gICAgICBjdHguZmlsbCgpO1xuICAgICAgaWYgKHZtLmJvcmRlcldpZHRoKSB7XG4gICAgICAgIGN0eC5zdHJva2UoKTtcbiAgICAgIH1cbiAgICAgIGN0eC5jbG9zZVBhdGgoKTtcblxuICAgICAgLy8gTWVkaWFuIGx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cbiAgICB9LFxuICAgIGdldENlbnRlclBvaW50OiBmdW5jdGlvbigpIHtcbiAgICAgIHZhciB2bSA9IHRoaXMuX3ZpZXc7XG4gICAgICB2YXIgeCwgeTtcbiAgICAgIGlmIChpc1ZlcnRpY2FsKHRoaXMpKSB7XG4gICAgICAgIHggPSB2bS54O1xuICAgICAgICB5ID0gKHZtLnkgKyB2bS5iYXNlKSAvIDI7XG4gICAgICB9IGVsc2Uge1xuICAgICAgICB4ID0gKHZtLnggKyB2bS5iYXNlKSAvIDI7XG4gICAgICAgIHkgPSB2bS55O1xuICAgICAgfVxuXG4gICAgICByZXR1cm4ge3g6IHgsIHk6IHl9O1xuICAgIH0sXG4gICAgZ2V0QXJlYTogZnVuY3Rpb24oKSB7XG4gICAgICB2YXIgdm0gPSB0aGlzLl92aWV3O1xuICAgICAgcmV0dXJuIHZtLndpZHRoICogTWF0aC5hYnModm0ueSAtIHZtLmJhc2UpO1xuICAgIH0sXG4gICAgdG9vbHRpcFBvc2l0aW9uOiBmdW5jdGlvbigpIHtcbiAgICAgIHZhciB2bSA9IHRoaXMuX3ZpZXc7XG4gICAgICByZXR1cm4ge1xuICAgICAgICB4OiB2bS54LFxuICAgICAgICB5OiB2bS55XG4gICAgICB9O1xuICAgIH1cbiAgfSk7XG5cbn07XG4iXX0=
{
"name": "chartjs-chart-box-plot",
"version": "1.0.0-10",
"version": "1.0.0-11",
"description": "A Box-plot implementation for chart.js",

@@ -5,0 +5,0 @@ "main": "dist/chart.js",

@@ -0,2 +1,4 @@

[![CircleCI](https://circleci.com/gh/yldio/chartjs-chart-box-plot/tree/master.svg?style=shield)](https://circleci.com/gh/yldio/chartjs-chart-box-plot/tree/master)
# chartjs-chart-box-plot
A Box-plot implementation for chart.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