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

AxisX 0 undefined #33

Open
devcastrojunin opened this issue Nov 28, 2019 · 5 comments
Open

AxisX 0 undefined #33

devcastrojunin opened this issue Nov 28, 2019 · 5 comments

Comments

@devcastrojunin
Copy link

The value 0 return undefined.
valor-undefined

@lannka
Copy link

lannka commented Feb 1, 2020

Same problem here

@CodeMasterZeroOne
Copy link

CodeMasterZeroOne commented Aug 5, 2020

Same problem. If the value is 0 then the label is set to "undefined"

update: the solution was already provided by: @MartinMuzatko in an earlier post.

@piotrantosz
Copy link

Use:
labelInterpolationFnc: function(value) {return value ? value: 0}

@agungprsty
Copy link

thank you bro, this is very helpful

@MartinMuzatko
Copy link

IMHO this should be patched in the original source code.

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

6 participants