(chart, _args, options)
| 66 | }, |
| 67 | |
| 68 | beforeDatasetsDraw(chart, _args, options) { |
| 69 | if (options.drawTime !== 'beforeDatasetsDraw') { |
| 70 | return; |
| 71 | } |
| 72 | |
| 73 | const metasets = chart.getSortedVisibleDatasetMetas(); |
| 74 | for (let i = metasets.length - 1; i >= 0; --i) { |
| 75 | const source = metasets[i].$filler; |
| 76 | |
| 77 | if (_shouldApplyFill(source)) { |
| 78 | _drawfill(chart.ctx, source, chart.chartArea); |
| 79 | } |
| 80 | } |
| 81 | }, |
| 82 | |
| 83 | beforeDatasetDraw(chart, args, options) { |
| 84 | const source = args.meta.$filler; |
nothing calls this directly
no test coverage detected