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

Is constantLine function broken in 0.9.12? #625

Closed
pythiannunez opened this issue Feb 18, 2014 · 2 comments
Closed

Is constantLine function broken in 0.9.12? #625

pythiannunez opened this issue Feb 18, 2014 · 2 comments

Comments

@pythiannunez
Copy link

I'm trying curl "http://localhost/render/?target=constantLine(21)&format=json" and I'm getting "TypeError: range() integer end argument expected, got float."

I'm pretty sure I used that function before, but maybe in another version.

Full error here https://gist.github.com/pythiannunez/9bb7e4e3b29d9208ae64

@imkin
Copy link

imkin commented Apr 21, 2015

Has fix been merged?

@obfuscurity
Copy link
Member

I can confirm that this is working fine in master.

$ curl -k "https://127.0.0.1:8443/render/?target=constantLine(21)&format=json"
[{"target": "21", "datapoints": [[21, 1469455685], [21, 1469498885], [21, 1469542085]]}

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

3 participants