(p: DataPoint)
| 156 | type Bounds = Readonly<{ xMin: number; xMax: number; yMin: number; yMax: number }>; |
| 157 | |
| 158 | const isTupleDataPoint = (p: DataPoint): p is DataPointTuple => Array.isArray(p); |
| 159 | const isTupleOHLCDataPoint = (p: OHLCDataPoint): p is OHLCDataPointTuple => Array.isArray(p); |
| 160 | |
| 161 | const getPointXY = (p: DataPoint): { readonly x: number; readonly y: number } => { |