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

gauge


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -