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

d3plus-viz

Package Overview
Dependencies
Maintainers
1
Versions
210
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

d3plus-viz - npm Package Compare versions

Comparing version 1.3.4 to 1.3.5

12

es/src/_drawColorScale.js

@@ -37,3 +37,3 @@ import { min } from "d3-array";

}).node();
if (showColorScale) {
if (this._colorScale) {
var scaleData = data.filter(function (d, i) {

@@ -49,9 +49,9 @@ var c = _this._colorScale(d, i);

}[position] || "bottom").duration(this._duration).data(scaleData).height(height).locale(this._locale).orient(position).select(scaleGroup).value(this._colorScale).width(width).config(this._colorScaleConfig).render();
var scaleBounds = this._colorScaleClass.outerBounds();
if (position && !this._colorScaleConfig.select && scaleBounds.height) {
if (wide) this._margin[position] += scaleBounds.height + this._legendClass.padding() * 2;else this._margin[position] += scaleBounds.width + this._legendClass.padding() * 2;
if (showColorScale) {
var scaleBounds = this._colorScaleClass.outerBounds();
if (!this._colorScaleConfig.select && scaleBounds.height) {
if (wide) this._margin[position] += scaleBounds.height + this._legendClass.padding() * 2;else this._margin[position] += scaleBounds.width + this._legendClass.padding() * 2;
}
}
} else {
this._colorScaleClass.config(this._colorScaleConfig);
}
}
{
"name": "d3plus-viz",
"version": "1.3.4",
"version": "1.3.5",
"description": "Abstract ES6 class that drives d3plus visualizations.",

@@ -36,3 +36,3 @@ "main": "es/index.js",

"d3plus-common": "^1.2.4",
"d3plus-format": "^1.2.4",
"d3plus-format": "^1.2.6",
"d3plus-legend": "^1.2.1",

@@ -39,0 +39,0 @@ "d3plus-text": "^1.2.3",

@@ -968,2 +968,2 @@ # d3plus-viz

###### <sub>Documentation generated on Thu, 22 Jun 2023 21:39:34 GMT</sub>
###### <sub>Documentation generated on Tue, 01 Aug 2023 19:00:34 GMT</sub>

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 too big to display

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