javascript - How to dynamically add color to a gauge chart in highchart? -
i have gauge chart showing different label different parameters want add color needles dynamically while loading chart.how can ?? posting s fiddle ,i have tried couldn't . here fiddle
tooltip: { formatter: function() { var = 0, j, y = this.y; arrttf.foreach(function(ttf) { if (ttf == y) { j = i; return; } i++; }); return arrlabel[j] + ": " + y + ' km/h'; } }
above code helped me put different label needles,but couldn't put different color runtime
Comments
Post a Comment