1 tr
.graphing
.Radar = function (svg
, size
, radar
) {
4 svg
.attr('width', size
).attr('height', size
);
7 var center
= Math
.round(size
/ 2);
14 .attr('stroke-width', 5);
21 .attr('stroke-width', 5);
24 function plotCircles() {
25 var center
, cycles
, increment
;
27 center
= Math
.round(size
/ 2);
28 cycles
= radar
.cycles();
29 increment
= Math
.round(center
/ cycles
.length
);
31 cycles
.forEach(function (cycle
, i
) {
35 .attr('r', (i
+ 1) * increment
);
39 self
.plot = function () {