jquery.sparkline icon indicating copy to clipboard operation
jquery.sparkline copied to clipboard

"Try it out" gives incorrect code in some circumstances

Open turkeyphant opened this issue 6 years ago • 0 comments

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

turkeyphant avatar Jun 10 '19 00:06 turkeyphant