v-charts 调整柱状图之间的间距

可在extend这个属性中自己配置,用法和echarts相同


export default{
    data(){
        this.chartExtend = {
                series(v) {
                    v && v.forEach(i => i.barGap = '0%')
                    return v
                }
            }
    }
}

v-charts 调整柱状图之间的间距_第1张图片

你可能感兴趣的:(echarts,Vue系列)