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

vap

Package Overview
Dependencies
Maintainers
3
Versions
568
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vap - npm Package Compare versions

Comparing version 1.7.1 to 1.7.2

8

layouts/charts/BarChart/Horizontal.js

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

this.heightScale = d3.scaleLinear().rangeRound([this.H, 0]);
this.widthScale.domain(this.DATA.map(function (item) { return _this.LABELFORMAT(item[_this.props.labelField]); }));
this.widthScale.domain(this.DATA.map(function (item) { return item[_this.props.labelField]; }));
this.heightScale.domain([0, this.max]).nice();

@@ -122,3 +122,4 @@ this.DATA = d3.stack().keys([this.props.valueField])(this.DATA)[0];

.attr("transform", "translate(" + (CONFIG.left + this.labelWidth) + "," + (this.H + CONFIG.top) + ")");
x.call(d3.axisBottom(this.widthScale).tickSize(1));
//@ts-ignore
x.call(d3.axisBottom(this.widthScale).tickSize(1).tickFormat(this.LABELFORMAT));
if (_.has(this.props, 'xLabel')) {

@@ -134,3 +135,4 @@ x.append('text')

.attr("transform", "translate(" + (CONFIG.left + this.labelWidth) + "," + CONFIG.top + ")");
y.call(d3.axisLeft(this.heightScale).ticks(4).tickSize(1));
//@ts-ignore
y.call(d3.axisLeft(this.heightScale).ticks(4).tickSize(1).tickFormat(this.FORMAT));
if (_.has(this.props, 'yLabel')) {

@@ -137,0 +139,0 @@ y.append('text')

{
"name": "vap",
"version": "1.7.1",
"version": "1.7.2",
"description": "vap",

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