aloktomarr commented on issue #21683:
URL: https://github.com/apache/echarts/issues/21683#issuecomment-5003549653

   Can I pick this issue?
   
   
   Cause : - An empty {} entry in markLine.data is normalized by 
markLineTransform to [undefined, undefined, {...}].
   markLineFilter then reads item[0]/coord/item[1].coord on those undefined 
endpoints, throwing 
   
   [TypeError: Cannot read properties of undefined (reading 'coord')], which 
aborts rendering of all markLines in the series.
   
   Fix : [markLineFilter], now treats an item with a missing endpoint as 
invalid and filters it out (returns false), so the empty entry is skipped and 
the remaining valid markLines render normally. Added a unit test. PR incoming.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to