Correction calculation error margin

Correction calculation error margin
pull/1/head
hizhengfu 13 years ago
parent f06fe931ea
commit 3c1d04cbd1

@ -1142,10 +1142,10 @@ Licensed under the MIT license.
for (var a in plotOffset) { for (var a in plotOffset) {
if(typeof(options.grid.borderWidth) == "object") { if(typeof(options.grid.borderWidth) == "object") {
plotOffset[a] = showGrid ? options.grid.borderWidth[a] : 0; plotOffset[a] += showGrid ? options.grid.borderWidth[a] : 0;
} }
else { else {
plotOffset[a] = showGrid ? options.grid.borderWidth : 0; plotOffset[a] += showGrid ? options.grid.borderWidth : 0;
} }
} }

Loading…
Cancel
Save