( options: ResolvedChartGPUOptions, runtimeRawBoundsByIndex?: ReadonlyArray<Bounds | null> | null )
| 1187 | }; |
| 1188 | |
| 1189 | const computeBaseXDomain = ( |
| 1190 | options: ResolvedChartGPUOptions, |
| 1191 | runtimeRawBoundsByIndex?: ReadonlyArray<Bounds | null> | null |
| 1192 | ): { readonly min: number; readonly max: number } => { |
| 1193 | const bounds = computeGlobalBounds(options.series, runtimeRawBoundsByIndex); |
| 1194 | const baseMin = finiteOrUndefined(options.xAxis.min) ?? bounds.xMin; |
| 1195 | const baseMax = finiteOrUndefined(options.xAxis.max) ?? bounds.xMax; |
| 1196 | return normalizeDomain(baseMin, baseMax); |
| 1197 | }; |
| 1198 | |
| 1199 | /** |
| 1200 | * Computes Y-axis domain bounds from the visible/rendered series data. |
no test coverage detected