(point: ResolvedLineSeriesConfig['data'][number])
| 40 | ): point is DataPointTuple => Array.isArray(point); |
| 41 | |
| 42 | const getPointXY = (point: ResolvedLineSeriesConfig['data'][number]): { readonly x: number; readonly y: number } => { |
| 43 | if (isTupleDataPoint(point)) return { x: point[0], y: point[1] }; |
| 44 | return { x: point.x, y: point.y }; |
| 45 | }; |
| 46 | |
| 47 | const computeDataBounds = ( |
| 48 | data: ResolvedLineSeriesConfig['data'] |
no test coverage detected