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 2020/10/05 13:01:56 UTC

[GitHub] [incubator-echarts] swsoyee opened a new issue #13388: The graph is not drawn correctly when the data of series and angleAxis are set separately in the polar scatter plot

swsoyee opened a new issue #13388:
URL: https://github.com/apache/incubator-echarts/issues/13388


   ### Version
   5.0.0-alpha.2
   
   ### Reproduction link
   [https://jsfiddle.net/usfbhc9L/1/](https://jsfiddle.net/usfbhc9L/1/)
   
   ### Steps to reproduce
   See jsfiddle or use option below.
   ```javascript
   // 基于准备好的dom,初始化echarts实例
   var myChart = echarts.init(document.getElementById('main'));
   
   var option = {
     "polar": {
       "show": true
     },
     "angleAxis": {
       "show": true,
       "type": "value",
       "min": 0,
       "max": 10,
       "data": [
         1,
         3,
         5,
       ]
     },
     "radiusAxis": {
       "show": true
     },
     "legend": {
       "data": [
         "value"
       ]
     },
     "series": [{
       "data": [
         7,
         9,
         1,
       ],
       "name": "value",
       "type": "scatter",
       "symbol": null,
       "coordinateSystem": "polar",
       "symbolSize": 10
     }]
   };
   
   myChart.setOption(option);
   
   // 使用刚指定的配置项和数据显示图表。
   //  myChart.setOption(option);
   ```
   
   ### What is expected?
   `data` of `series` and `angleAxis` are able to be set separately.
   
   ### What is actually happening?
   According to the docs, angleAxis should be able to set separately:
   https://echarts.apache.org/zh/option.html#series-scatter.data
   
   ---
   If not set (or use) the `angleAxis`, just using this option below, the graph is correct.
   ```javascript
   var option = {
     "polar": {
       "show": true
     },
     "angleAxis": {
       "show": true,
       "type": "value",
       "min": 0,
       "max": 10,
     },
     "radiusAxis": {
       "show": true
     },
     "legend": {
       "data": [
         "value"
       ]
     },
     "series": [
       {
         "data": [
           [7, 1],
           [9, 3],
           [1, 5],
         ],
         "name": "value",
         "type": "scatter",
         "symbol": null,
         "coordinateSystem": "polar",
         "symbolSize": 10
       }
     ]
   };
   ```
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


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

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] [incubator-echarts] echarts-bot[bot] commented on issue #13388: The graph is not drawn correctly when the data of series and angleAxis are set separately in the polar scatter plot

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


   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 **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) 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 dev@echarts.apache.org. Please attach the issue link if it's a technical questions.
   
   If you are interested in the project, you may also subscribe our [mail list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


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

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