(node)
| 27 | var getFillOpacity = function(node) { return Number(node.style['fill-opacity']); }; |
| 28 | var getColor = function(node) { return node.style.fill; }; |
| 29 | var getMarkerSize = function(node) { |
| 30 | // find path arc multiply by 2 to get the corresponding marker.size value |
| 31 | // (works for circles only) |
| 32 | return d3Select(node).attr('d').split('A')[1].split(',')[0] * 2; |
| 33 | }; |
| 34 | |
| 35 | describe('Test scatter', function() { |
| 36 | 'use strict'; |
no outgoing calls
no test coverage detected
searching dependent graphs…