gwatts / jquery.sparkline

A plugin for the jQuery javascript library to generate small sparkline charts directly in the browser
http://omnipotent.net/jquery.sparkline/
1.24k stars 278 forks source link

Documentation mentions that any object that responds to `get` can be used as a RangeMap (e.g., colorMap) #74

Open alindeman opened 11 years ago

alindeman commented 11 years ago

RangeMap appears to be duck typed on get. This was just incredibly useful to me. It might be good to document it.

I can write it up if you let me know where the docs live.