Highcharts Solid Gauge Width

前端 未结 2 2039
暗喜
暗喜 2021-01-02 09:02

I\'ve not found an API or previous question that addresses changing the width of the solid gauge data plot.

I can easily change the chart width, plot width, plot pad

2条回答
  •  盖世英雄少女心
    2021-01-02 09:41

    Try below code

    EDITED

    i have changed innerradius and outerradius

           background: {
                backgroundColor: '#fff',
                innerRadius: '60%',
                outerRadius: '100%',
                shape: 'arc',
                borderColor: 'transparent'
            }
    

    create chart with innerRadius same as outerRadius

    outerRadius is the background radius on which chart will shown and innerRadius is chart radius.

    Demo Edited Fiddle

提交回复
热议问题