diff --git a/data/js/graph.js b/data/js/graph.js index 628105b..68f97e2 100644 --- a/data/js/graph.js +++ b/data/js/graph.js @@ -214,7 +214,7 @@ function renderGraphSvg(dataArray, renderId) { while (figure.hasChildNodes()) { figure.removeChild(figure.lastChild); } - console.log(dataArray); + //console.log(dataArray); var svg = document.createElementNS("http://www.w3.org/2000/svg", "svg"); svg.setAttribute("viewBox", "0 0 640 440"); svg.setAttribute("preserveAspectRatio", "xMidYMid meet"); diff --git a/data/js/graph.min.js b/data/js/graph.min.js index 9a3f271..b113ea1 100644 --- a/data/js/graph.min.js +++ b/data/js/graph.min.js @@ -12,4 +12,4 @@ while(xAccessor.hasNext()&&yAccessor.hasNext()){var xDataValue=xAccessor.next(); parent.appendChild(pointGroup);} xTransform=numericTransformer(xAccessor.min(),xAccessor.max(),0+gutter,width-gutter);yTransform=numericTransformer(yAccessor.min(),yAccessor.max(),height-gutter,0+gutter);axisRenderer("x",xTransform.toData);axisRenderer("y",yTransform.toData);lineRenderer(xAccessor,yAccessor,xTransform.toCoord,yTransform.toCoord);pointRenderer(xAccessor,yAccessor,xTransform.toCoord,yTransform.toCoord);} function renderGraphSvg(dataArray,renderId){var figure=document.getElementById(renderId);while(figure.hasChildNodes()){figure.removeChild(figure.lastChild);} -console.log(dataArray);var svg=document.createElementNS("http://www.w3.org/2000/svg","svg");svg.setAttribute("viewBox","0 0 640 440");svg.setAttribute("preserveAspectRatio","xMidYMid meet");lineGraph(svg,(function(data,min,max){var i=0;return{hasNext:function(){return i