* @private
(i, reset)
| 244 | * @private |
| 245 | */ |
| 246 | _circumference(i, reset) { |
| 247 | const opts = this.options; |
| 248 | const meta = this._cachedMeta; |
| 249 | const circumference = this._getCircumference(); |
| 250 | if ((reset && opts.animation.animateRotate) || !this.chart.getDataVisibility(i) || meta._parsed[i] === null || meta.data[i].hidden) { |
| 251 | return 0; |
| 252 | } |
| 253 | return this.calculateCircumference(meta._parsed[i] * circumference / TAU); |
| 254 | } |
| 255 | |
| 256 | updateElements(arcs, start, count, mode) { |
| 257 | const reset = mode === 'reset'; |
no test coverage detected