vega-lite
Advanced tools
Comparing version 5.5.1--canary.8475.a9d1dc5.0 to 5.5.1--canary.8475.ccc3007.0
@@ -99,15 +99,13 @@ import { isBinned, isBinning } from '../../bin'; | ||
} | ||
else { | ||
return 'vertical'; | ||
} | ||
} | ||
return 'vertical'; | ||
} | ||
// If x is range and y is non-range, non-bin Q, x is likely a prebinned field | ||
// If x is range and y is non-range, non-bin Q | ||
if (!y2) { | ||
if (isFieldDef(x) && isBinned(x.bin)) { | ||
return 'vertical'; | ||
if ((isFieldDef(y) && y.type === QUANTITATIVE && !isBinning(y.bin)) || isNumericDataDef(y)) { | ||
if (isFieldDef(x) && isBinned(x.bin)) { | ||
return 'vertical'; | ||
} | ||
} | ||
else { | ||
return 'horizontal'; | ||
} | ||
return 'horizontal'; | ||
} | ||
@@ -114,0 +112,0 @@ } |
{ | ||
"name": "vega-lite", | ||
"author": "Dominik Moritz, Kanit \"Ham\" Wongsuphasawat, Arvind Satyanarayan, Jeffrey Heer", | ||
"version": "5.5.1--canary.8475.a9d1dc5.0", | ||
"version": "5.5.1--canary.8475.ccc3007.0", | ||
"collaborators": [ | ||
@@ -6,0 +6,0 @@ "Kanit Wongsuphasawat (http://kanitw.yellowpigz.com)", |
@@ -131,15 +131,15 @@ import {Orientation, SignalRef} from 'vega'; | ||
return 'horizontal'; | ||
} else { | ||
return 'vertical'; | ||
} | ||
} | ||
return 'vertical'; | ||
} | ||
// If x is range and y is non-range, non-bin Q, x is likely a prebinned field | ||
// If x is range and y is non-range, non-bin Q | ||
if (!y2) { | ||
if (isFieldDef(x) && isBinned(x.bin)) { | ||
return 'vertical'; | ||
} else { | ||
return 'horizontal'; | ||
if ((isFieldDef(y) && y.type === QUANTITATIVE && !isBinning(y.bin)) || isNumericDataDef(y)) { | ||
if (isFieldDef(x) && isBinned(x.bin)) { | ||
return 'vertical'; | ||
} | ||
} | ||
return 'horizontal'; | ||
} | ||
@@ -146,0 +146,0 @@ } |
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 not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
9353356
115673