.chart-one-custom {
    height: 470px;
    /*background: #f1f1f1;*/
    max-width: 750px;
    margin: 0 auto;
}
.chart-one-custom .main {
    position: relative;
    height:calc( 100% - 70px);

}
.chart-one-custom .main .grids{
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-left: 50px;
}
.chart-one-custom .main .grids > .r {
    height: 10%;
    border-bottom: 1px solid #ccc;
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
}
.chart-one-custom .main .grids > .r.border-dashed{
    border-bottom: 2px dashed #389DE7;
}
.chart-one-custom .main .grids > .r::before {
    content: attr(data-label);
    position: absolute;
    left: -40px;
    font-size: 16px;
    color: #666;
    bottom: -14px;
    width: 30px;
    text-align: center;
}
.chart-one-custom .main .grids >div .sub-grid {
    border-right: 2px dashed #aaa;
}

.chart-one-custom .main .charts {
    position: absolute;
    display: flex;
    /*background: rgba(94, 255, 0, 0.24);*/
    height: 91%;
    width: calc(100% - 50px);
    top: 9%;
    margin-left: 50px;
    right: 0;
    justify-content: space-between;
    padding: 0 45px;
    flex-direction: row-reverse;
}
.chart-one-custom .main .charts .point-box {
    width: 10px;
    height: 100%;
    /*background: rgba(0, 81, 255, 0.32);*/
    border-radius: 0px;
    position: initial;
    top: 0;
}

.chart-one-custom .main .charts .point-box .point {
    height: 10px !important;
    background: #f55353;
    position: absolute;
    width: 10px;
    border-radius: 50px;
    z-index: 1;
}
.chart-one-custom .main .charts canvas{
    position: absolute;
}
.chart-one-custom >  .labels{
    display: flex;
    justify-content: space-between;
    padding: 0 25px;
    margin-left: 50px;
}

.chart-one-custom > .labels .label-bottom {
    padding: 3px 8px 0;
    background: #2ABB9C;
    color: white;
    min-width: 50px;
    text-align: center;
    border-radius: 5px;
    margin-top: 10px;
}
