.histogrambox-container { padding: 0vw; position: absolute; text-align: center; width: 100%; height: 100%; } .histogrambox-xaxislabel { position:absolute; width:100%; text-align: center; bottom:0; font-size: 14; font-weight: bold; } .histogrambox-container { position:absolute; width:100%; height: 100%; }