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