( value: TimeValue | undefined, bound: XValue | undefined, xScale: XScale, timestampUnit: TimestampUnit, )
| 496 | }; |
| 497 | |
| 498 | const getAxisBound = ( |
| 499 | value: TimeValue | undefined, |
| 500 | bound: XValue | undefined, |
| 501 | xScale: XScale, |
| 502 | timestampUnit: TimestampUnit, |
| 503 | ): XValue | undefined => { |
| 504 | const axisBound = |
| 505 | xScale == TIME ? normalizeTimeValue(value, timestampUnit) : value; |
| 506 | return isFiniteNumber(axisBound) ? (axisBound as number) : bound; |
| 507 | }; |
| 508 | |
| 509 | const getNumberAxisBound = ( |
| 510 | value: number | undefined, |
no test coverage detected
searching dependent graphs…