|
@ -139,7 +139,6 @@ exports.drawPoint = function(x, y, group, JSONcontainer, svgContainer) { |
|
|
point.setAttributeNS(null, "cx", x); |
|
|
point.setAttributeNS(null, "cx", x); |
|
|
point.setAttributeNS(null, "cy", y); |
|
|
point.setAttributeNS(null, "cy", y); |
|
|
point.setAttributeNS(null, "r", 0.5 * group.options.drawPoints.size); |
|
|
point.setAttributeNS(null, "r", 0.5 * group.options.drawPoints.size); |
|
|
point.setAttributeNS(null, "class", group.className + " point"); |
|
|
|
|
|
} |
|
|
} |
|
|
else { |
|
|
else { |
|
|
point = exports.getSVGElement('rect',JSONcontainer,svgContainer); |
|
|
point = exports.getSVGElement('rect',JSONcontainer,svgContainer); |
|
@ -147,8 +146,12 @@ exports.drawPoint = function(x, y, group, JSONcontainer, svgContainer) { |
|
|
point.setAttributeNS(null, "y", y - 0.5*group.options.drawPoints.size); |
|
|
point.setAttributeNS(null, "y", y - 0.5*group.options.drawPoints.size); |
|
|
point.setAttributeNS(null, "width", group.options.drawPoints.size); |
|
|
point.setAttributeNS(null, "width", group.options.drawPoints.size); |
|
|
point.setAttributeNS(null, "height", group.options.drawPoints.size); |
|
|
point.setAttributeNS(null, "height", group.options.drawPoints.size); |
|
|
point.setAttributeNS(null, "class", group.className + " point"); |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if(group.options.drawPoints.styles !== undefined) { |
|
|
|
|
|
point.setAttributeNS(null, "style", group.group.options.drawPoints.styles); |
|
|
|
|
|
} |
|
|
|
|
|
point.setAttributeNS(null, "class", group.className + " point"); |
|
|
return point; |
|
|
return point; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|