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

Error on Highstock version 4.2.6 #5556

Closed
sersou83 opened this Issue Aug 2, 2016 · 3 comments

Comments

Projects
None yet
3 participants
@sersou83

sersou83 commented Aug 2, 2016

Expected behaviour

Actual behaviour

In the console I see this error:
highstock.js:59 Error: attribute d: Expected moveto path command ('M' or 'm'), "z".dSetter @ highstock.js:59

Live demo with steps to reproduce

http://jsfiddle.net/sL377du8/6/

See console

Affected browser(s)

All

@acshef

This comment has been minimized.

Show comment
Hide comment
@acshef

acshef Aug 2, 2016

It's because the data attribute for your "Tiredness" polygon is an empty array. As a workaround, use [0] instead of []

acshef commented Aug 2, 2016

It's because the data attribute for your "Tiredness" polygon is an empty array. As a workaround, use [0] instead of []

@sersou83

This comment has been minimized.

Show comment
Hide comment
@sersou83

sersou83 Aug 3, 2016

@acshef Thank you very much for that tip, wasn't aware of it.

sersou83 commented Aug 3, 2016

@acshef Thank you very much for that tip, wasn't aware of it.

@pawelfus

This comment has been minimized.

Show comment
Hide comment
@pawelfus

pawelfus Aug 3, 2016

Contributor

Minified example: http://jsfiddle.net/cpcmpp4x/

Contributor

pawelfus commented Aug 3, 2016

Minified example: http://jsfiddle.net/cpcmpp4x/

@pawelfus pawelfus added the Bug label Aug 3, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment