Echarts uses Graph components to report errors

the Graph component of echarts is used in the vue project, and then the error "Uncaught TypeError: Cannot read property "parse" of undefined"

is reported.

at first thought it was the version, and then reinstalled the echarts, version with the number "echarts": "^ 4.1.0". The page output shows that the result of the echarts, display is not 4.1.0, but version: "3.8.5". And did not solve the problem of reporting errors

then I went to Baidu, and found an article in Zhihu that had a related solution, the address was " https://www.zhihu.com/questio. ", entered the GitHub address recommended by God and copied the js code completely. After the local introduction of this js, the js reported another error" Cannot read property "dataTool" of undefined "

.

so far, I"m completely confused. I don"t know what"s wrong or what"s wrong. Please give me some advice

.
Apr.01,2021

make sure your echarts has this

Menu