Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Try it out" gives incorrect code in some circumstances #204

Open
turkeyphant opened this issue Jun 10, 2019 · 0 comments
Open

"Try it out" gives incorrect code in some circumstances #204

turkeyphant opened this issue Jun 10, 2019 · 0 comments

Comments

@turkeyphant
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant