import { ScaleCreationContext , Dimension } from '@chart-parts/interfaces' ; export function getBoundRange ( args , rangeBind ) { const { viewBounds : { x , y } , } = args ; return rangeBind === Dimension . Height ? y : x ; }