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' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -