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

offset function returns NaN in singlestat panel #683

Closed
laf-rge opened this issue Feb 23, 2019 · 2 comments
Closed

offset function returns NaN in singlestat panel #683

laf-rge opened this issue Feb 23, 2019 · 2 comments

Comments

@laf-rge
Copy link

laf-rge commented Feb 23, 2019

Offset function returns NaN. I have a metric return 0 for up and 1 for down. If I use the scale(-1) this gives me the proper value. However once I add offset(1) I get NaN. I expect to get the inverted percent value (example: .01 -> .99)

@laf-rge
Copy link
Author

laf-rge commented Feb 23, 2019

screen shot 2019-02-22 at 6 57 00 pm

screen shot 2019-02-22 at 6 57 11 pm

@alexanderzobnin
Copy link
Collaborator

Yea, interesting, I see that function returns function body itself :)

screenshot from 2019-02-28 20-48-45

I'll try to investigate what's wrong.

@alexanderzobnin alexanderzobnin added this to the 3.10.1 milestone Feb 28, 2019
alexanderzobnin added a commit that referenced this issue Mar 1, 2019
@alexanderzobnin alexanderzobnin changed the title offset function returns NaN in single panel offset function returns NaN in singlestat panel Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants