(index, data, scales)
| 423 | |
| 424 | describe('tooltip label', function() { |
| 425 | function labelOf(index, data, scales) { |
| 426 | const chart = window.acquireChart({ |
| 427 | type: 'bubble', |
| 428 | data, |
| 429 | options: {scales} |
| 430 | }); |
| 431 | return chart.getDatasetMeta(0).controller.getLabelAndValue(index).label; |
| 432 | } |
| 433 | |
| 434 | it('should come from a category x axis whose labels come from the data', function() { |
| 435 | const data = {datasets: [{data: [{x: 'a', y: 1, r: 5}, {x: 'b', y: 2, r: 5}]}]}; |
no test coverage detected