body {
    margin: 0;
}

.chart-wrap {    
    overflow: visible;
    position: relative;
}

/* Header above chart should not be overlapped */
.chart-wrap>.d-flex {
    position: relative;
    z-index: 3;
}

.chart-canvas {
    padding: 0 1rem;
    height: 360px;
}

.chart-canvas canvas {
    width: 100%;
    height: 100%;
    display: block;
}

canvas {
    display: block;
    width: 100%;
    box-sizing: border-box;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
}

.hint {
    margin-top: 8px;
    color: #555;
    font-size: 14px;
}