Socket
Socket
Sign inDemoInstall

vega-lite

Package Overview
Dependencies
Maintainers
2
Versions
470
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vega-lite - npm Package Compare versions

Comparing version 0.7.10 to 0.7.11

scripts/deploy.sh

2

bower.json
{
"name": "vega-lite",
"main": "vega-lite.js",
"version": "0.7.10",
"version": "0.7.11",
"homepage": "https://github.com/uwdata/vega-lite",

@@ -6,0 +6,0 @@ "authors": [

{
"name": "vega-lite",
"author": "Jeffrey Heer, Dominik Moritz, Kanit \"Ham\" Wongsuphasawat",
"version": "0.7.10",
"version": "0.7.11",
"collaborators": [

@@ -6,0 +6,0 @@ "Kanit Wongsuphasawat <kanitw@gmail.com> (http://kanitw.yellowpigz.com)",

@@ -41,3 +41,2 @@ 'use strict';

prop: bar_props,
requiredEncoding: ['x', 'y'],
supportedEncoding: {row: 1, col: 1, x: 1, y: 1, size: 1, color: 1}

@@ -44,0 +43,0 @@ };

@@ -39,4 +39,9 @@ 'use strict';

} else { // raw plot
numPoints = stats.count;
// TODO: error handling
if (!stats['*'])
return 1;
numPoints = stats['*'].max; // count
// small multiples divide number of points

@@ -54,8 +59,8 @@ var numMultiples = 1;

var opacity = 0;
if (numPoints < 20) {
if (numPoints <= 25) {
opacity = 1;
} else if (numPoints < 200) {
opacity = 0.8;
} else if (numPoints < 1000 || encoding.is('tick')) {
opacity = 0.7;
} else if (numPoints < 1000 || encoding.is('tick')) {
opacity = 0.6;
} else {

@@ -62,0 +67,0 @@ opacity = 0.3;

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