在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問答/HTML/ echarts怎么實現(xiàn)這種圖表呢,求指導(dǎo),

echarts怎么實現(xiàn)這種圖表呢,求指導(dǎo),

echarts怎么實現(xiàn)這種圖表呢,求指導(dǎo),如果設(shè)置為透明,另一半的虛線怎么設(shè)置

clipboard.png

回答
編輯回答
命于你

http://echarts.baidu.com/echa...
設(shè)置另一半透明,底圖可以是一個完整的虛線圓圈

2018年4月14日 12:19
編輯回答
怣人

可以用zrender計算后 畫那個弧線

2017年7月27日 15:28
編輯回答
荒城

我試了下highcharts和echarts,并不能直接支持,你可以去echarts項目提個issues問問,https://github.com/ecomfe/ech...

2017年12月18日 15:26
編輯回答
獨特范
placeHolderStyle = {
    normal: {
        label: {
            show: false,
            position: "center"
        },
        labelLine: {
            show: false
        },
        borderWidth: 3,
        color: "#fff",
        borderColor: "#dedede",
         borderType:'dashed'
    },
    emphasis: {
        color: "#dedede",
        borderColor: "#dedede",
        borderWidth: 0,
    }
};
option = {
    backgroundColor: '#fff',
    color: ['#fc7a26', '#fff', '#ffa127', '#fff', "#ffcd26"],
    legend: [{
        orient: '',
        icon: 'circle',
        left: 'right',
        top: 'center',
        data: ['不喜歡', '喜歡', '跳過']
    }],
    series: [
        {
        name: '值',
        type: 'pie',
        clockWise: true, //順時加載
        hoverAnimation: false, //鼠標(biāo)移入變大
        radius: [199, 200],
        itemStyle: {
            normal: {
                label: {
                    show: true,
                    position: 'outside'
                },
                labelLine: {
                    show: true,
                    length: 100,
                    smooth: 0.5
                },
                borderWidth: 6,
                shadowBlur: 40,
                borderColor: "#fc7a26",
                shadowColor: 'rgba(0, 0, 0, 0)', //邊框陰影
               
            }
        },
        data: [{
            value: 7,
            name: '70%'
        }, {
            value: 3,
            name: '',
            itemStyle:placeHolderStyle,
        }]
    }
]
};

clipboard.png
大概寫了一下 改一下就可以了

2017年6月19日 09:49