import { Dimensions } from '../../utils/dimensions' ; import { GlobalChartState } from '../chart_state' ; internal export const getInternalProjectionContainerAreaSelector = ( state ) : Dimensions => { if ( state . internalChartState ) { return state . internalChartState . getProjectionContainerArea ( state ) ; } return { width : 0 , height : 0 , left : 0 , top : 0 } ; } ;