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

Error: item.series.xaxis[ticks][tickIndex].label.replace is not a function #148

Open
maplelinyuan opened this issue Jan 12, 2017 · 1 comment

Comments

@maplelinyuan
Copy link

when the ticks of xaxis is consisted of a array with number, like[0,1,2,3...], it shows the error.
I temporarily choose to change
content = content.replace(xPattern, item.series.xaxis[ticks][tickIndex].label.replace(/\$/g, '$$$$'));
to
content = content.replace(xPattern, String(item.series.xaxis[ticks][tickIndex].label).replace(/\$/g, '$$$$'));

@Ardyey
Copy link

Ardyey commented Jan 31, 2020

Can confirm that this fixes the issue.

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

2 participants