chenxuan0000 / svg-progress-bar

:panda_face: A simple,progress bar for Vue.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

circleLinecap 属性设置为 ‘round’ 后并不生效

Zhumingtao opened this issue · comments

            options1: function () {
                return {
                    // 进度条半径
                    radius: 50,
                    // 进度条线宽
                    circleWidth: 6,
                    circleLinecap: 'round',
                    maxValue: 100,
                    text: function (value) {
                        return this.htmlifyNumber(value) + '<span style="font-size: 0.4em;">%</span>';
                    },
                    // 进度条文本颜色
                    textColor: 'pink',
                    // 进度条填充颜色
                    pathColors: ['#666', '#999'],
                    duration: 800
                }
            }