|
|
@ -1,15 +1,14 @@ |
|
|
|
var DOMutil = require('../../../DOMutil'); |
|
|
|
|
|
|
|
function Points(groupId, options) { |
|
|
|
function Points(groupId, options) { // eslint-disable-line no-unused-vars
|
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* draw the data points |
|
|
|
* |
|
|
|
* @param {Array} dataset |
|
|
|
* @param {Object} JSONcontainer |
|
|
|
* @param {Object} svg | SVG DOM element |
|
|
|
* @param {GraphGroup} group |
|
|
|
* @param {Object} framework | SVG DOM element |
|
|
|
* @param {Number} [offset] |
|
|
|
*/ |
|
|
|
Points.draw = function (dataset, group, framework, offset) { |
|
|
@ -32,7 +31,6 @@ Points.draw = function (dataset, group, framework, offset) { |
|
|
|
|
|
|
|
Points.drawIcon = function (group, x, y, iconWidth, iconHeight, framework) { |
|
|
|
var fillHeight = iconHeight * 0.5; |
|
|
|
var path, fillPath; |
|
|
|
|
|
|
|
var outline = DOMutil.getSVGElement("rect", framework.svgElements, framework.svg); |
|
|
|
outline.setAttributeNS(null, "x", x); |
|
|
|