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

Code generator on landing page gives wrong code for empty fill #163

Open asfarley opened 8 years ago

asfarley commented 8 years ago

The code generator on the Examples page suggests "fillColor: undefined" for an empty/transparent fill under the sparklines. However, this didn't affect the fillColor in Chrome using jquery sparklines 2.1.2. Using "fillColor: false" produces the desired effect.

The same observation applies for minSpotColor and maxSpotColor.

aritztg commented 7 years ago

In the case of spotColor, minSpotColor, maxSpotColor params (maybe others too), using null as value works well too.