Skip to content

Commit

Permalink
changed shape of invalid points
Browse files Browse the repository at this point in the history
  • Loading branch information
brappop committed Aug 7, 2018
1 parent 80b1bfd commit 1858103
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/enpi_tool.js
Original file line number Diff line number Diff line change
Expand Up @@ -906,8 +906,8 @@ function makeGraph(displayJson, number, combinations, dataJsons) {
var validity = (dataJsons[i][j]["valid"] === "Pass" ? " valid" : " invalid");
svg.append("path")
.data([dataJsons[i][j]])
.attr("d", symbol.type(function(d) { return d["valid"] === "Pass" ? d3.symbolCircle : d3.symbolDiamond;}))
.attr("transform", "translate(" + x(dataJsons[i][j].modelYear) + "," + y(dataJsons[i][j].rSquare) + ")")
.attr("d", symbol.type(function(d) { return d["valid"] === "Pass" ? d3.symbolCircle : d3.symbolCross;}))
.attr("transform", function(d) { return "translate(" + x(dataJsons[i][j].modelYear) + "," + y(dataJsons[i][j].rSquare) + ") rotate(45)" })
.attr("class", "scatterplot line line"+count + validity)
.style("fill", lineColors[i])
.style("visibility", "hidden");
Expand Down

0 comments on commit 1858103

Please sign in to comment.