HumbleSoftware / Flotr2

Graphs and Charts for Canvas in JavaScript.
http://www.humblesoftware.com/flotr2/
MIT License
2.44k stars 526 forks source link

Can I set the color of a bubble ? #190

Open antdambro opened 11 years ago

antdambro commented 11 years ago

Hi, I need to set the color of a single bubble before to draw it. I see that I can set the color of the bubble on data series basis. A solution will be create a series for each bubble but the colors are set by Flotr.defaultOptions so I can't set the exact color to use. Is there a solution or workaround ? Thank you in advance. Best regards

cesutherland commented 11 years ago

You can set the color per-series like so:

http://jsfiddle.net/cesutherland/NhGLg/