(x, y, legendItem)
| 365 | }; |
| 366 | |
| 367 | const fillText = function(x, y, legendItem) { |
| 368 | renderText(ctx, legendItem.text, x, y + (itemHeight / 2), labelFont, { |
| 369 | strikethrough: legendItem.hidden, |
| 370 | textAlign: rtlHelper.textAlign(legendItem.textAlign) |
| 371 | }); |
| 372 | }; |
| 373 | |
| 374 | // Horizontal |
| 375 | const isHorizontal = this.isHorizontal(); |
no test coverage detected