International audienceIn this paper, we study the triaxial properties of dark matter haloes of a wide range of masses extracted from a set of cosmological N-body simulations. We measure the shape at different distances from the halo centre (characterized by different overdensity thresholds), both in three and in two dimensions. We discuss how halo triaxiality increases with mass, redshift and distance from the halo centre. We also examine how the orientations of the different ellipsoids are aligned with each other and what is the gradient in internal shapes for haloes with different virial configurations. Our findings highlight that the internal part of the halo retains memory of the violent formation process keeping the major axis oriented...