antvis/G2

The issue has been closed
use npm install g2 (version: 3.51 ~ latest); can't find API intervalStack when I use it to draw Pie chart #4095
meilZhu posted onGitHub
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