import { Chart } from './point_series' ; export function initYAxis ( chart ) { const y = chart . aspects . y ; if ( Array . isArray ( y ) ) { chart . yAxisFormat = y [ 0 ] . format ; chart . yAxisLabel = y . length > 1 ? '' : y [ 0 ] . title ; } const z = chart . aspects . series ; if ( z ) { chart . zAxisFormat = z [ 0 ] . format ; chart . zAxisLabel = '' ; } }