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

use npm install g2 (version: 3.51 ~ latest); can't find API intervalStack when I use it to draw Pie chart #4095

Closed
meilZhu opened this issue Aug 16, 2022 · 1 comment

Comments

@meilZhu
Copy link

meilZhu commented Aug 16, 2022

I can write demo of drwaing pie chart in website of g2, but I used npm install it. when implementing the API intervalStack, The console will report an error saying that the API cannot be found.

Error message: view.intervalStack is not a function at eachView.

I have printed chart on the console, and the method is not available on its prototype

@meilZhu
Copy link
Author

meilZhu commented Aug 16, 2022

I read the upgrade guide, which said it had been abandoned. Sorry!

@meilZhu meilZhu closed this as completed Aug 16, 2022
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

1 participant