Highcharts - 如何在" solidgauge"?中显示箭头?

时间:2015-12-07 07:30:58

标签: highcharts

我想在speedometer中显示Highcharts solidgauge graph之类的箭头。有可能吗?

enter image description here

插件链接:http://www.highcharts.com/demo/gauge-solid
版本: 4.1.9

1 个答案:

答案 0 :(得分:4)

鉴于http://jsfiddle.net/gh/get/jquery/1.9.1/highslide-software/highcharts.com/tree/master/samples/highcharts/demo/gauge-solid/

的例子

你只需添加第二个系列,其类型为' gauge'像这样:

{
  name: 'Whatever',
  type: 'gauge',
  data: [80]
}

JSFiddle:http://jsfiddle.net/doc_snyder/j5owogor/