(options?: Partial<PointOptions & PointHoverOptions>)
| 79 | } |
| 80 | |
| 81 | size(options?: Partial<PointOptions & PointHoverOptions>) { |
| 82 | options = options || this.options || {}; |
| 83 | let radius = options.radius || 0; |
| 84 | radius = Math.max(radius, radius && options.hoverRadius || 0); |
| 85 | const borderWidth = radius && options.borderWidth || 0; |
| 86 | return (radius + borderWidth) * 2; |
| 87 | } |
| 88 | |
| 89 | draw(ctx: CanvasRenderingContext2D, area: ChartArea) { |
| 90 | const options = this.options; |
no outgoing calls
no test coverage detected