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

whiskerLength in pixels #2801

Closed
pawelfus opened this issue Mar 12, 2014 · 2 comments
Closed

whiskerLength in pixels #2801

pawelfus opened this issue Mar 12, 2014 · 2 comments
Assignees

Comments

@pawelfus
Copy link
Contributor

Well, it just doesn't work. It's always calculated as percent value:

whiskerLength = parseInt(series.options.whiskerLength, 10) / 100;

There should be match for pixels value (either by setting '10px', or just a number) and another for percent ( e.g. '10%' ).

Demo: http://jsfiddle.net/2MDGt/

@pawelfus
Copy link
Contributor Author

Improved testes for the fix above in a6cbc5c.

@KacperMadej
Copy link

Failed to auto close due to extra :
Tested and works fine. Closing as resolved

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

2 participants