Fixing bug in global scale calculation
This commit is contained in:
parent
8bc31046c7
commit
c8d147deb8
@ -341,8 +341,8 @@
|
|||||||
|
|
||||||
function computeGlobalScale(columnsData) {
|
function computeGlobalScale(columnsData) {
|
||||||
var globalScale = null;
|
var globalScale = null;
|
||||||
for (var i = 0, count = columnsData.length; i < count; ++i) {
|
for (var name in columnsData) {
|
||||||
var localScale = computeLocalScale(columnsData[i]);
|
var localScale = computeLocalScale(columnsData[name]);
|
||||||
if (globalScale) {
|
if (globalScale) {
|
||||||
globalScale.include(localScale);
|
globalScale.include(localScale);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user