Skip to content

Commit

Permalink
Shifted arcs
Browse files Browse the repository at this point in the history
  • Loading branch information
airenzp authored and xzhou82 committed Sep 14, 2024
1 parent 11d8db6 commit e3a6301
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions client/plots/profileRadar.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ class profileRadar extends profilePlot {
'd',
this.arcGenerator({
outerRadius: this.radius,
startAngle: i * this.angle,
endAngle: (i + 1) * this.angle
startAngle: i * this.angle - this.angle / 2,
endAngle: (i + 1) * this.angle - this.angle / 2
})
)
.on('click', event => this.onMouseOver(event))
Expand Down
4 changes: 2 additions & 2 deletions client/plots/profileRadarFacility.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ class profileRadarFacility extends profilePlot {
'd',
this.arcGenerator({
outerRadius: this.radius,
startAngle: i * this.angle,
endAngle: (i + 1) * this.angle
startAngle: i * this.angle - this.angle / 2,
endAngle: (i + 1) * this.angle - this.angle / 2
})
)
.on('click', event => this.onMouseOver(event))
Expand Down

0 comments on commit e3a6301

Please sign in to comment.