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

Plot Bands are not redered if Infinity passed as `to` parameter #7709

Closed
aklkv opened this Issue Jan 23, 2018 · 3 comments

Comments

Projects
None yet
4 participants
@aklkv

aklkv commented Jan 23, 2018

Expected behaviour

If infinity passed to to parameter, plot band should render from from point to the end of the graph.

Actual behaviour

Nothing is rendered.

Live demo with steps to reproduce

http://jsfiddle.net/aklkv/nuLwxdo0/2/

Product version

v6.0.4

Affected browser(s)

@sebastianbochan

This comment has been minimized.

Show comment
Hide comment
@sebastianbochan

sebastianbochan Jan 23, 2018

Contributor

Hi @aklkv
Thank you for reporting.

Workaround
Set date i.e for 3000 year.

Demo:

Contributor

sebastianbochan commented Jan 23, 2018

Hi @aklkv
Thank you for reporting.

Workaround
Set date i.e for 3000 year.

Demo:

@pawelfus

This comment has been minimized.

Show comment
Hide comment
@pawelfus

pawelfus Jan 23, 2018

Contributor

Or in general, we can use Number.MAX_SAFE_INTEGER. Demo: http://jsfiddle.net/BlackLabel/nuLwxdo0/3/

The same issue with from and -Inifity: http://jsfiddle.net/BlackLabel/nuLwxdo0/4/

Internal note:
Technically, Infinite is the number type..

Contributor

pawelfus commented Jan 23, 2018

Or in general, we can use Number.MAX_SAFE_INTEGER. Demo: http://jsfiddle.net/BlackLabel/nuLwxdo0/3/

The same issue with from and -Inifity: http://jsfiddle.net/BlackLabel/nuLwxdo0/4/

Internal note:
Technically, Infinite is the number type..

@TorsteinHonsi

This comment has been minimized.

Show comment
Hide comment
@TorsteinHonsi

TorsteinHonsi Jan 25, 2018

Collaborator

It's a regression since v6.0.4, specifically 2032e57.

Collaborator

TorsteinHonsi commented Jan 25, 2018

It's a regression since v6.0.4, specifically 2032e57.

@TorsteinHonsi TorsteinHonsi self-assigned this Jan 25, 2018

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