Highcharts Solid Gauge Width

前端 未结 2 2028
暗喜
暗喜 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:52

    You can use innerRadius on yAxis.

    plotOptions: {
            solidgauge: {
                innerRadius: '75%',
                dataLabels: {
                    y: -45,
                    borderWidth: 0,
                    useHTML: true
                }
            }
     },
    

    http://jsfiddle.net/jm8E4/6/

提交回复
热议问题