(options, plugins = [])
| 3270 | }); |
| 3271 | |
| 3272 | function acquireDatasetModeChart(options, plugins = []) { |
| 3273 | return acquireChart({ |
| 3274 | type: 'line', |
| 3275 | data: { |
| 3276 | labels: ['a', 'b', 'c'], |
| 3277 | datasets: [{data: [1, 2, 3], borderWidth: 1, hoverBorderWidth: 5}, {data: [3, 2, 1]}] |
| 3278 | }, |
| 3279 | options: Object.assign({interaction: {mode: 'dataset', intersect: false}}, options), |
| 3280 | plugins |
| 3281 | }); |
| 3282 | } |
| 3283 | |
| 3284 | function expectNothingOfDataset0Active(chart) { |
| 3285 | const meta = chart.getDatasetMeta(0); |
no outgoing calls
no test coverage detected