You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/08/24 08:43:58 UTC

[GitHub] [echarts] echarts-bot[bot] commented on issue #17563: [Bug] Heatmap视图下,markArea无法同时设定X值和Y值。

echarts-bot[bot] commented on issue #17563:
URL: https://github.com/apache/echarts/issues/17563#issuecomment-1225386218

   @Knell0714 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **TITLE**
   
   [Bug] In heatmap view, markArea cannot set both X and Y values.
   
   **BODY**
   
   ### Version
   
   5.3.3
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   1. Configure the data field in markArea as a document instance. `data: [
   
   [
           {
               name: 'The scalar field between two screen coordinates',
               x: 100,
               y: 100
           }, {
               x: '90%',
               y: '10%'
           }
       ]
   ]`
   2. The console reports an error after running. `vue.runtime.esm.js?c320:1897 TypeError: Cannot read property '0' of undefined
       at markAreaTransform (MarkAreaView.js?9f4a:69)
       at eval (util.js?d5c9:310)
       at Array.map(<anonymous>)
       at map (util.js?d5c9:228)
       at createList (MarkAreaView.js?9f4a:358)
       at MarkAreaView.renderSeries (MarkAreaView.js?9f4a:222)
       at eval (MarkerView.js?e25f:77)
       at GlobalModel.eval (Global.js?05a0:654)
       at Array.forEach(<anonymous>)
       at each (util.js?d5c9:205)`
   
   ### Current Behavior
   
   vue.runtime.esm.js?c320:1897 TypeError: Cannot read property '0' of undefined
       at markAreaTransform (MarkAreaView.js?9f4a:69)
       at eval (util.js?d5c9:310)
       at Array.map(<anonymous>)
       at map (util.js?d5c9:228)
       at createList (MarkAreaView.js?9f4a:358)
       at MarkAreaView.renderSeries (MarkAreaView.js?9f4a:222)
       at eval (MarkerView.js?e25f:77)
       at GlobalModel.eval (Global.js?05a0:654)
       at Array.forEach(<anonymous>)
       at each (util.js?d5c9:205)
   
   ### Expected Behavior
   
   The page renders the markArea area normally.
   
   ### Environment
   
   ````markdown
   - OS: Win 10
   - Browser: Electron
   - Framework:Vue@2
   ````
   
   
   ### Any additional comments?
   
   _No response_
   </details>


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org