[widget-content] {
    height: 100%;
}

.chartbox {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: calc(100% - 32px);
    overflow: hidden;
}

.nodata {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #666666;
    margin-top: 2%;
}

.btnbox {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    flex-direction: row;

    .item {
        border: 1px solid #cccccc;
        width: 16vw;
        max-width: 90px;
        height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        line-height: 13px;
        color: #666;
        overflow: hidden;
        white-space: nowrap;

        &:first-child {
            border-top-left-radius: 5px;
            border-bottom-left-radius: 5px;
            border-right: none;
        }

        &:last-child {
            border-top-right-radius: 5px;
            border-bottom-right-radius: 5px;
            border-left: none;
        }
    }

    .selected {
        color: #fff;
        // background-color: #389bee;
        border: none;
    }

    .unselected {
        background-color: transparent !important;
    }
}

select {
    color: #666;
    position: absolute;
    top: 10px;
    right: 10px;
    height: 22px;
    width: 100px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 12px;
    line-height: 13px;
    background-color: #fff0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0 0 5px;
}

.chartzone {
    flex-grow: 1;
}