HighCharts: how to update bar color when updating the point value -


i use "update" command refresh value of point in series:

mychart.series[0].data[i].update(sigvalue); 

now update color of column/point well. tried

mychart.series[0].data[i].color = "#ff0000"; 

but did not work...

color should changed attr() function.

http://jsbin.com/ubapaz/10/edit

    $('#test').click(function() { chart.series[0].data[4].graphic.attr("fill","#ff0000");     }); 

api here reference.


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -