echarts icon indicating copy to clipboard operation
echarts copied to clipboard

TypeError: Cannot read properties of undefined (reading 'get')

Open RiaGoel opened this issue 4 years ago • 16 comments

Version

4.9.0

Steps to reproduce

Throwing an exception in collectAxesInfo, modelHelper.js

"Cannot read properties of undefined (reading 'get')"

What is expected?

It should not throw exception

What is actually happening?

var linksOption = globalAxisPointerModel.get('link', true) || []; is undefined

RiaGoel avatar Oct 18 '21 11:10 RiaGoel

Hi! We've received your issue and please be patient to get responded. 🎉 The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that it contains a minimum reproducible demo and necessary images to illustrate. Otherwise, our committers will ask you to do so.

A minimum reproducible demo should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.

You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to [email protected]. Please attach the issue link if it's a technical question.

If you are interested in the project, you may also subscribe to our mailing list.

Have a nice day! 🍵

echarts-bot[bot] avatar Oct 18 '21 11:10 echarts-bot[bot]

@RiaGoel Please provide a minimum reproducible demo for the issue either with https://codepen.io/Ovilia/pen/dyYWXWM , https://www.makeapie.com/editor.html or https://codesandbox.io/s/mystifying-bash-2uthz.

A minimum reproducible demo should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.

echarts-bot[bot] avatar Oct 18 '21 11:10 echarts-bot[bot]

line-simple.txt

Please change the file name to line-simple.html to reproduce this issue.

RiaGoel avatar Oct 25 '21 12:10 RiaGoel

Please try the latest 5.x to see if this error still exits.

pissang avatar Oct 26 '21 02:10 pissang

The above file is of Echarts version 5.2

RiaGoel avatar Oct 26 '21 05:10 RiaGoel

@RiaGoel I can't reproduce the issue from your file

pissang avatar Oct 26 '21 05:10 pissang

Please enable "break on exception' option in DevTools to reproduce the issue

RiaGoel avatar Oct 26 '21 09:10 RiaGoel

@RiaGoel This is not the key. There are no exceptions. Please provide more informations

pissang avatar Oct 27 '21 01:10 pissang

image

RiaGoel avatar Oct 29 '21 05:10 RiaGoel

Hi Team, Any update on this issue?

RiaGoel avatar Nov 03 '21 06:11 RiaGoel

Please provide more informations for us to reproduce

pissang avatar Nov 03 '21 06:11 pissang

https://github.com/apache/echarts/issues/17089 please follow this link for the same issue and demo to reproduce it. Can I get a solution how to handle this exception? @pissang

KundanJha123 avatar Aug 03 '22 04:08 KundanJha123

我也遇到同样的问题, 有什么办法可以解决吗

Qianhebu avatar May 12 '23 02:05 Qianhebu

image Hi It happened also in 5.4.2. both in echart.min.js and echart.js. Attached is echart.js. thanks

edosong avatar Jun 15 '23 06:06 edosong