added radar graphing and vertical line
[tech-radar.git] / src / graphing / radar.js
1 tr.graphing.Radar = function (svg, size, radar) {
2 var self = {};
3
4 svg.attr('width', size).attr('height', size);
5
6 function plotLines() {
7 svg.append('line')
8 .attr('x1', size / 2)
9 .attr('y1', 0)
10 .attr('x2', size / 2)
11 .attr('y2', size)
12 .attr('stroke-width', 5);
13 };
14
15 self.plot = function () {
16 plotLines();
17
18 };
19
20 return self;
21 };