Add Color to PlotKit EasyPlot Widget
Status: Beta
Brought to you by:
gasolin
This patch adds a color option to the PlotKit EasyPlot widget. The default color is still Blue. Any of the colors found in the unit tests at the following page will result in a valid chart: http://media.liquidx.net/js/plotkit-tests/dynamic.html
This seemed like the easiest option for using the prepackaged themes -- I couldn't figure out how to pass the theme object in the options dictionary directly. Enlightenment would be appreciated. :-)
Tim
Patch for trunk/plotkit/widgets.py