jquery.sparkline
jquery.sparkline copied to clipboard
"Try it out" gives incorrect code in some circumstances
When I use the "Try it out" section, the code it provides gives undefined for a bunch of options, e.g.:
$("#sparkline").sparkline([5,6,7,9,9,5,3,2,2,4,6,7 ], {
type: 'line',
minSpotColor: undefined,
maxSpotColor: undefined,
highlightLineColor: undefine,});
However, this does not reflect what's shown in the preview. Indeed, the documentation says
Set to false or an empty string to hide it