chartist-plugin-pointlabels
chartist-plugin-pointlabels copied to clipboard
labelInterpolationFnc 0 gets passed as undefined
Hello! If not set, labelInterpolationFnc
will use Chartist.noop. However, my chart shows undefined
instead of 0
.
I had to apply this function to fix this:
{
labelInterpolationFnc: v=>v?v:0
}
I also had this issue and can confirm that passing the labelInterpolationFnc solved it. Thanks for the fix @MartinMuzatko
@MartinMuzatko Thanks for to fix
Should we just fix it in the library?
Added a PR #25
Added a PR https://github.com/gionkunz/chartist-plugin-pointlabels/pull/26
this is still an issue with the official release. would it be possible to make a release with this fix?
Had this problem also. Your solution worked! Thank you 👍