Is there a way to change the color of plots in jQuery flot without redrawing the whole chart?

Posted by Sam Lee on Stack Overflow See other posts from Stack Overflow or by Sam Lee
Published on 2010-05-06T22:37:42Z Indexed on 2010/05/06 22:38 UTC
Read the original article Hit count: 316

Filed under:
|

I have a chart that I'm drawing using flot. I want to change the colors of the data plots when someone hovers over text. Currently, I am doing this by redrawing the entire chart each time I need to highlight something. This is pretty slow (about 30 milliseconds for a simple chart, as much as 100 for a more complicated chart). Since all I want to do is change the color, is there a faster solution?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about flot