(cx, cy, radius, degrees)
| 601 | } |
| 602 | |
| 603 | function calculatePoint(cx, cy, radius, degrees) { |
| 604 | const radians = ((degrees - 90) * Math.PI) / 180.0; |
| 605 | return { |
| 606 | x: cx + radius * Math.cos(radians), |
| 607 | y: cy + radius * Math.sin(radians), |
| 608 | }; |
| 609 | } |
| 610 | |
| 611 | function BarDateRange() {} |
| 612 |