Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
line image row columns instead
  • Loading branch information
sxywu committed Oct 14, 2016
1 parent 2797216 commit 3363239
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/ProcessGraph.js
Expand Up @@ -464,8 +464,6 @@ var PositionGraph = {
},

positionLinesAsImage(lines) {
var lineSize = 5;
var imageWidth = 71;
var dotSize = 10;
var linePositions = [];

Expand All @@ -475,6 +473,8 @@ var PositionGraph = {

_.each(lineImagePositions, (positions, i) => {
var {x, y} = positions;
x = (x - 0.5) * dotSize;
y = (y - 0.5) * dotSize;
var line = lines[i];
var radius = Math.floor(imageScale(line.lineLength));

Expand Down

0 comments on commit 3363239

Please sign in to comment.