1

Fixing bug in global scale calculation

This commit is contained in:
Alex Yatskov 2015-03-22 11:19:09 +09:00
parent 8bc31046c7
commit c8d147deb8

View File

@ -341,8 +341,8 @@
function computeGlobalScale(columnsData) {
var globalScale = null;
for (var i = 0, count = columnsData.length; i < count; ++i) {
var localScale = computeLocalScale(columnsData[i]);
for (var name in columnsData) {
var localScale = computeLocalScale(columnsData[name]);
if (globalScale) {
globalScale.include(localScale);
}