From: edward Date: Thu, 21 Jun 2018 10:24:06 +0000 (+0800) Subject: g.circular.js X-Git-Url: http://git.roojs.org/?p=g.raphael;a=commitdiff_plain;h=70eeb9a13185e3bc04690b80471e13781cc132fc g.circular.js --- diff --git a/g.circular.js b/g.circular.js index 8c4d8fe..d78b794 100644 --- a/g.circular.js +++ b/g.circular.js @@ -186,13 +186,13 @@ Roo = typeof(Roo) != 'undefined' ? Roo: (imports ? imports.seed.Roo.Roo: {}); // y += txt.getBBox().height * 1.2; // } - var bb = chart.labels.getBBox(), - tr = { - east: [0, -bb.height / 2], - west: [-bb.width - 2 * r - 20, -bb.height / 2], - north: [-r - bb.width / 2, -r - bb.height - 10], - south: [-r - bb.width / 2, r + 10] - }[dir]; +// var bb = chart.labels.getBBox(), +// tr = { +// east: [0, -bb.height / 2], +// west: [-bb.width - 2 * r - 20, -bb.height / 2], +// north: [-r - bb.width / 2, -r - bb.height - 10], +// south: [-r - bb.width / 2, r + 10] +// }[dir]; // chart.labels.translate.apply(chart.labels, tr); // chart.push(chart.labels);