(chart, _args, options)
| 49 | }, |
| 50 | |
| 51 | beforeDraw(chart, _args, options) { |
| 52 | const draw = options.drawTime === 'beforeDraw'; |
| 53 | const metasets = chart.getSortedVisibleDatasetMetas(); |
| 54 | const area = chart.chartArea; |
| 55 | for (let i = metasets.length - 1; i >= 0; --i) { |
| 56 | const source = metasets[i].$filler; |
| 57 | if (!source) { |
| 58 | continue; |
| 59 | } |
| 60 | |
| 61 | source.line.updateControlPoints(area, source.axis); |
| 62 | if (draw && source.fill) { |
| 63 | _drawfill(chart.ctx, source, area); |
| 64 | } |
| 65 | } |
| 66 | }, |
| 67 | |
| 68 | beforeDatasetsDraw(chart, _args, options) { |
| 69 | if (options.drawTime !== 'beforeDatasetsDraw') { |
nothing calls this directly
no test coverage detected