return[x(getX(point)),y(getY(point)),lineIndex,pointIndex];//inject series and point index for reference into voronoi
//return [x(getX(point)), y(getY(point)), lineIndex, pointIndex]; //inject series and point index for reference into voronoi
return[x(getX(point))*(Math.random()/1e12+1),y(getY(point))*(Math.random()/1e12+1),lineIndex,pointIndex];//temp hack to add noise untill I think of a better way so there are no duplicates
varwrap,gEnter,g,focus,focusLines,contextWrap,focusWrap,contextLines;//brought all variables to this scope for use within function... is this a bad idea?
varwrap,gEnter,g,focus,focusLines,contextWrap,focusWrap,contextLines;//brought all variables to this scope for use within brush function... is this a bad idea?
varseriesData;//Temporarily bringing this data to this scope.... may be bad idea (same with above).. may need to rethink brushing