模式修改圆弧的形状

问题描述

我必须拍一张这样的照片:

enter image description here

我做了相同的布局,但是箭头的形状有问题,我无法将它们修改为与第一张图片中的箭头相同。 问题所在的图以及您所做的图:

enter image description here

这是第二张图片文件: file.js:

  var myConfig = 
  {
"backgroundColor": "transparent","type": "gauge","plotarea": {
    "marginTop": 50
},"plot": {
    "size": "100%",'background-color': "#000000","valueBox": {
        "placement": "center","text": "","color": "white","border-radius": "30%","padding": "0 10px","border": "none","fontSize": 200
    }
},"tooltip": {
    "borderRadius": 150,"text": "%t"
},"scaleR": {
    "aperture": 250,"values": "300:1000:100","minValue": 400,"maxValue": 900,"itemsOverlap": true,"maxItems": 100000,"center": {
        "visible": true,"size":10.30,"borderColor": "#696969"
    },"tick": {
        "visible": false
    },"item": {
        "offsetR": 0,"rules": [
            {
                "rule": "%v > 900 ","visible": false
            },{
                "rule": "%v < 400",{
                "rule": "%v == -10","text": "Out Of Range","offsetX": 50,"visible": true,"offsetY": 7
            },{
                "rule": "%v != 400 && %v != 500 && %v != 700 && %v !=800  && %v != 900","visible": false
            }
        ],"stats": {
            "min": 119,"avg": 444,"max": 819
         }
    },"ring": {
        "size": 47,"backgroundColor": "#344675","rules": [
            {
                "rule": "%v < 400","backgroundColor": "red black"
            },{
                "rule": " %v >= 400 && %v < 500","backgroundColor": "rgb(63,172,121)"
            },{
                "rule": " %v >= 500 && %v < 700","backgroundColor": "rgb(232,217,29)"
            },{
                "rule": " %v >= 700 && %v < 800","backgroundColor": "rgb(230,162,60)"
            },{
                "rule": " %v >= 800 && %v < 900","backgroundColor": "rgb(242,57,59)"
            },{
                "rule": "%v >= 900 && %v<=1000","backgroundColor": "red black"
            }
        ]
    }
},"series": [
    {
        "values": [
            400
        ],"backgroundColor": "rgb(115,115,114)","indicator": [
          3,-10,27,46,8
        ],"size": "60%","text": "7","animation": {
            "effect": 2,"method": 1,"sequence": 4,"speed": 900
        }
    },{
        "values": [
              444
        ],"indicator": [
         3,"text": "60",{
        "values": [
             800
        ],"csize":"5%","text": "90","speed": 100
        }
    }
]
}
;

zingchart.render({ 
    id : 'myChart',data : myConfig,height: '100%',width: '100%' 
});

我该如何解决这个问题?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...