| 708 | // derived object of the defaults a scale takes. |
| 709 | describe('stored and derived scale options', function() { |
| 710 | const impliedScaleConfig = () => ({ |
| 711 | type: 'bar', |
| 712 | data: { |
| 713 | labels: ['a', 'b', 'c'], |
| 714 | datasets: [{data: [10, 11, 12]}, {type: 'line', data: [10, 11, 12], yAxisID: 'y1'}] |
| 715 | }, |
| 716 | options: {scales: {y: {min: 5}}} |
| 717 | }); |
| 718 | const record = (chart, id) => chart.config._scaleRecords.get(chart.config.options.scales[id]); |
| 719 | |
| 720 | it('should record which entries only a dataset implies, also after updates', function() { |