admin管理员组

文章数量:1123586

wanted to know how we can remove the border from the white circular solid guage highchart:

Code:

Highcharts.chart('container', {
    chart: {
        type: "solidgauge"
    },
    title: {
        useHTML: true,
        verticalAlign: "middle",
        y: 4
    },
    subtitle: {
        verticalAlign: "middle",
        y: -36,
        style: {color: "#686868", fontSize: "14px", fontFamily: "NotoSans, sans-serif"}
    },
    pane: {
        startAngle: 0,
        endAngle: 360,
        background: [{
            outerRadius: '100%',
            innerRadius: '87%',
            backgroundColor: "#FFFFFF",
            borderWidth: 0
        }]
    },
    tooltip: {
        enabled: false
    },
    yAxis: [
        {
            min: 0,
            max: 323,
            tickPositions: [],
            lineWidth: 0,
            plotBands: [
                {
                    thickness: 35,
                    from: 0
                }
            ],
            plotLines: []
        }
    ],
    plotOptions: {
        solidgauge: {
            innerRadius: '87%',
            radius: '100%',
        }
    },
    series: [{
        type: "solidgauge",
        name: 'Data',
        dataLabels: {
            enabled: false
        },
        data: [
        {
        color: 'red',
        y: 323
        },
        {
            color: 'white',
            y: 56
        },
        ]
    }]
});

Sample: /

want to remove the border for the white color as we are overwriting on the red one so the border is visible

本文标签: mapsHighChart solid Guage border issueStack Overflow