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:55 UTC

[GitHub] [echarts] Knell0714 opened a new issue, #17563: Heatmap视图下,markArea无法同时设定X值和Y值。[Bug]

Knell0714 opened a new issue, #17563:
URL: https://github.com/apache/echarts/issues/17563

   ### Version
   
   5.3.3
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   1. markArea中配置data字段为文档实例。`data: [
   
   [
           {
               name: '两个屏幕坐标之间的标域',
               x: 100,
               y: 100
           }, {
               x: '90%',
               y: '10%'
           }
       ]
   ]`
   2. 运行后控制台报错。`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
   
   页面正常渲染出markArea区域。
   
   ### Environment
   
   ```markdown
   - OS:Win 10
   - Browser:Electron
   - Framework:Vue@2
   ```
   
   
   ### Any additional comments?
   
   _No response_


-- 
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.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


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

Posted by GitBox <gi...@apache.org>.
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


Re: [I] [Bug] Heatmap视图下,markArea无法同时设定X值和Y值。 [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #17563:
URL: https://github.com/apache/echarts/issues/17563#issuecomment-2308537065

   This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.


-- 
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


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

Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #17563:
URL: https://github.com/apache/echarts/issues/17563#issuecomment-1227079244

   如果是想要画矩形的话可以直接用 [graphic.element-rect](https://echarts.apache.org/en/option.html#graphic.elements-rect)


-- 
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


Re: [I] [Bug] Heatmap视图下,markArea无法同时设定X值和Y值。 [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #17563:
URL: https://github.com/apache/echarts/issues/17563#issuecomment-2323042913

   This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!


-- 
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


Re: [I] [Bug] Heatmap视图下,markArea无法同时设定X值和Y值。 [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #17563: [Bug] Heatmap视图下,markArea无法同时设定X值和Y值。
URL: https://github.com/apache/echarts/issues/17563


-- 
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


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

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #17563:
URL: https://github.com/apache/echarts/issues/17563#issuecomment-1227078688

   @Knell0714 Please provide a demo for the issue either with [Official Editor](https://echarts.apache.org/examples/editor.html), [CodePen](https://codepen.io/Ovilia/pen/dyYWXWM), [CodeSandbox](https://codesandbox.io/s/echarts-basic-example-template-mpfz1s) or [JSFiddle](https://jsfiddle.net/plainheart/e46ozpqj/7/).


-- 
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