(options: ChartGPUOptions)
| 41 | const clamp = (v: number, lo: number, hi: number): number => Math.min(hi, Math.max(lo, v)); |
| 42 | |
| 43 | const hasSliderDataZoom = (options: ChartGPUOptions): boolean => options.dataZoom?.some((z) => z?.type === 'slider') ?? false; |
| 44 | |
| 45 | /** |
| 46 | * Mimics ChartGPU's option resolution when using coordinator directly. |
no outgoing calls
no test coverage detected