Skip to content

Commit

Permalink
Fixed small issues in Linking
Browse files Browse the repository at this point in the history
  • Loading branch information
yueliulu committed Dec 10, 2023
1 parent ac9a451 commit ef52ed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/twocharts.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ function highlightPoints(label) {
dataLines.forEach((line, lineIndex) => {
line.forEach(dot => {
if (dot.x === label) {
g1.select(`.line-group:nth-child(${lineIndex+3}) .dot:nth-child(${line.indexOf(dot)+2})`)
g1.select(`.line-group:nth-child(${lineIndex+6}) .dot:nth-child(${line.indexOf(dot)+2})`)
.style("fill", "red");
}
});
Expand Down

0 comments on commit ef52ed9

Please sign in to comment.