(value)
| 1451 | } |
| 1452 | |
| 1453 | getLineWidthForValue(value) { |
| 1454 | const grid = this.options.grid; |
| 1455 | if (!this._isVisible() || !grid.display) { |
| 1456 | return 0; |
| 1457 | } |
| 1458 | const ticks = this.ticks; |
| 1459 | const index = ticks.findIndex(t => t.value === value); |
| 1460 | if (index >= 0) { |
| 1461 | const opts = grid.setContext(this.getContext(index)); |
| 1462 | return opts.lineWidth; |
| 1463 | } |
| 1464 | return 0; |
| 1465 | } |
| 1466 | |
| 1467 | /** |
| 1468 | * @protected |
nothing calls this directly
no test coverage detected