ToolTips are added by default as svg:title and optionally the full
description is displayed.
-tr.graphing.Radar = function (size, radar) {
+tr.graphing.Radar = function (size, radar, toolTipDescription) {
var self, fib, svg;
fib = new tr.util.Fib();
.attr('class', 'blip-text')
.attr('text-anchor', 'middle')
.text(blip.number())
+ .append("svg:title")
+ .text(blip.name() + ((toolTipDescription && blip.description())
+ ? ': ' + blip.description().replace(/(<([^>]+)>)/ig, '')
+ : '' ))
});
});
};