vega-lite
Advanced tools
Comparing version 0.7.14 to 0.7.15
{ | ||
"name": "vega-lite", | ||
"main": "vega-lite.js", | ||
"version": "0.7.14", | ||
"version": "0.7.15", | ||
"homepage": "https://github.com/uwdata/vega-lite", | ||
@@ -6,0 +6,0 @@ "authors": [ |
@@ -127,4 +127,11 @@ 'use strict'; | ||
vled.loadSpec = function(vlspec, theme) { | ||
var spec = vl.compile(vlspec, vled.dataset.stats, theme); | ||
var stats = null; | ||
// use dataset stats only if the spec does not have embedded stats | ||
if (!vlspec.data || vlspec.data.values === undefined) { | ||
stats = vled.dataset.stats; | ||
} | ||
var spec = vl.compile(vlspec, stats, theme); | ||
d3.select('#shorthand').node().value = vl.toShorthand(vlspec); | ||
@@ -131,0 +138,0 @@ d3.select('#vgspec').node().value = JSON.stringify(spec, null, ' ', 60); |
{ | ||
"name": "vega-lite", | ||
"author": "Jeffrey Heer, Dominik Moritz, Kanit \"Ham\" Wongsuphasawat", | ||
"version": "0.7.14", | ||
"version": "0.7.15", | ||
"collaborators": [ | ||
@@ -6,0 +6,0 @@ "Kanit Wongsuphasawat <kanitw@gmail.com> (http://kanitw.yellowpigz.com)", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7547494
120617