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

Feature request: option to pre-process the data #75

Closed sahuguet closed 11 years ago

sahuguet commented 11 years ago

Hi,

big fan of the framework.

There are two things I would like to do with the data before rendering it:

Having a callback function to preprocess the value array before it is rendered should do the trick.

regards,

Arnaud

gwatts commented 11 years ago

Why do you need the plugin to do this, rather than just handling it from your own code before the sparkline() function is called?