[FIX] web_kanban_gauge: don't use fit=true for raphael.js because preserveAspectRatio svg attribute is wrong

This commit is contained in:
Christophe Matthieu 2014-07-07 15:20:14 +02:00
parent fff2660c0c
commit ac43bda48a
1 changed files with 2 additions and 2 deletions

View File

@ -295,7 +295,7 @@
} }
if (obj.config.relativeGaugeSize === true) { if (obj.config.relativeGaugeSize === true) {
obj.canvas.setViewBox(0, 0, 200, 150, true); obj.canvas.setViewBox(0, 0, 200, 150, false);
} }
// canvas dimensions // canvas dimensions
@ -306,7 +306,7 @@
canvasW = obj.config.width; canvasW = obj.config.width;
canvasH = obj.config.height; canvasH = obj.config.height;
} else if (obj.config.parentNode !== null) { } else if (obj.config.parentNode !== null) {
obj.canvas.setViewBox(0, 0, 200, 150, true); obj.canvas.setViewBox(0, 0, 200, 150, false);
canvasW = 200; canvasW = 200;
canvasH = 150; canvasH = 150;
} else { } else {