Piechart: fixed typo

master
Robin Hu 11 years ago
parent a53af7ac65
commit 0f5201e139

@ -10421,7 +10421,7 @@ nv.models.pie = function() {
if (labelLocationHash[hashKey]) { if (labelLocationHash[hashKey]) {
center[1] -= avgHeight; center[1] -= avgHeight;
} }
labelHash[createHashKey(center)] = true; labelLocationHash[createHashKey(center)] = true;
return 'translate(' + center + ')' return 'translate(' + center + ')'
} }
}); });

@ -224,7 +224,7 @@ nv.models.pie = function() {
if (labelLocationHash[hashKey]) { if (labelLocationHash[hashKey]) {
center[1] -= avgHeight; center[1] -= avgHeight;
} }
labelHash[createHashKey(center)] = true; labelLocationHash[createHashKey(center)] = true;
return 'translate(' + center + ')' return 'translate(' + center + ')'
} }
}); });

Loading…
Cancel
Save