Socket
Socket
Sign inDemoInstall

@fishawack/lab-d3

Package Overview
Dependencies
3
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.7.1 to 2.7.2

3

CHANGELOG.md
## Changelog
### 2.7.2 (2021-03-03)
* [Feature] Band and Point scales can now have their axis tick values hard coded
### 2.7.1 (2021-03-02)

@@ -4,0 +7,0 @@ * [Feature] Box chart now supports single values

2

package.json
{
"name": "@fishawack/lab-d3",
"version": "2.7.1",
"version": "2.7.2",
"description": "Abstract layer built on top of d3",

@@ -5,0 +5,0 @@ "scripts": {

@@ -488,3 +488,3 @@ "use strict";

if (att.scale[scale] === 'point') {
local.scale[scale] = d3.scalePoint().domain(local.flatData.reduce(function (a, b) {
local.scale[scale] = d3.scalePoint().domain(att.axis[scale].tickValues || local.flatData.reduce(function (a, b) {
return a.concat(Shared[scale](b, att));

@@ -497,3 +497,3 @@ }, [])).padding(local.padding.outer);

} else if (att.scale[scale] === 'band') {
local.scale[scale] = d3.scaleBand().domain(local.flatData.reduce(function (a, b) {
local.scale[scale] = d3.scaleBand().domain(att.axis[scale].tickValues || local.flatData.reduce(function (a, b) {
return a.concat(Shared[scale](b, att));

@@ -500,0 +500,0 @@ }, [])).paddingInner(local.padding.inner).paddingOuter(local.padding.outer);

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc