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/01/24 04:45:23 UTC

[GitHub] [incubator-echarts] ThomasSteiner opened a new issue #12109: Angle axis in polar axis not rendering negative values correctly

ThomasSteiner opened a new issue #12109: Angle axis in polar axis not rendering negative values correctly
URL: https://github.com/apache/incubator-echarts/issues/12109
 
 
   ### Version
   4.6.0
   
   ### Steps to reproduce
   option = {
       angleAxis: {
           type: 'category',
           data: ['S1', 'S2', 'S3']
       },
       radiusAxis: {
           min:-1,
           max: 3
           
       },
       polar: {
       },
       series: [{
           type: 'bar',
           data: [1, 1, 1],
           coordinateSystem: 'polar',
           itemStyle:{
               color:"blue"
               
           },
           name: 'A',
           stack: 'a'
       }, {
           type: 'bar',
           data: [1, 1, 1],
           coordinateSystem: 'polar',
           name: 'B',
           stack: 'a'
       }, {
           type: 'bar',
           data: [1, 1, 1],
           coordinateSystem: 'polar',
           name: 'C',
           stack: 'a'
       }],
       legend: {
           show: true,
           data: ['A', 'B', 'C']
       }
   };
   
   ### What is expected?
   Stack values should start at 0 and reflect correct values across the radius axis
   
   ### What is actually happening?
   Stack values resize and are forced to start at center of circle rather than 0 point of radius axis
   
   <!-- 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


With regards,
Apache Git Services

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


[GitHub] [incubator-echarts] karma2014 edited a comment on issue #12109: Angle axis in polar axis not rendering negative values correctly

Posted by GitBox <gi...@apache.org>.
karma2014 edited a comment on issue #12109: Angle axis in polar axis not rendering negative values correctly
URL: https://github.com/apache/incubator-echarts/issues/12109#issuecomment-593271084
 
 
   [This case](https://gallery.echartsjs.com/editor.html?c=xXsPmq1-U&v=1)I have modified the data [1,1,1]to [2,2,2],and change the radiusAxis.min to 1, and found that the view is wrong.
   This is my option:
   ```
   option = {
       angleAxis: {
           type: 'category',
           data: ['S1', 'S2', 'S3']
       },
       radiusAxis: {
           min: 1,
           max: 6
       },
       polar: {
       },
       series: [{
           type: 'bar',
           data: [2, 2, 2],
           coordinateSystem: 'polar',
           itemStyle:{
               color:"blue"
               
           },
           name: 'A',
           stack: 'a'
       },
       {
           type: 'bar',
           data: [2, 2, 2],
           coordinateSystem: 'polar',
           name: 'B',
           stack: 'a'
       },
       {
           type: 'bar',
           data: [2, 2, 2],
           coordinateSystem: 'polar',
           name: 'C',
           stack: 'a'
       }],
       legend: {
           show: true,
           data: ['A', 'B', 'C']
       }
   };
   ```
   So I guess this ”min“ do not support value except 0.   

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


With regards,
Apache Git Services

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


[GitHub] [incubator-echarts] karma2014 edited a comment on issue #12109: Angle axis in polar axis not rendering negative values correctly

Posted by GitBox <gi...@apache.org>.
karma2014 edited a comment on issue #12109: Angle axis in polar axis not rendering negative values correctly
URL: https://github.com/apache/incubator-echarts/issues/12109#issuecomment-593271084
 
 
   [(https://gallery.echartsjs.com/editor.html?c=xXsPmq1-U&v=1)]
   This case I have modified the data [1,1,1]to [2,2,2],and change the radiusAxis.min to 1, and found that the view is wrong.
   This is my option:
   ```
   option = {
       angleAxis: {
           type: 'category',
           data: ['S1', 'S2', 'S3']
       },
       radiusAxis: {
           min: 1,
           max: 6
       },
       polar: {
       },
       series: [{
           type: 'bar',
           data: [2, 2, 2],
           coordinateSystem: 'polar',
           itemStyle:{
               color:"blue"
               
           },
           name: 'A',
           stack: 'a'
       },
       {
           type: 'bar',
           data: [2, 2, 2],
           coordinateSystem: 'polar',
           name: 'B',
           stack: 'a'
       },
       {
           type: 'bar',
           data: [2, 2, 2],
           coordinateSystem: 'polar',
           name: 'C',
           stack: 'a'
       }],
       legend: {
           show: true,
           data: ['A', 'B', 'C']
       }
   };
   ```
   So I guess this ”min“ do not support value except 0.   

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


With regards,
Apache Git Services

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


[GitHub] [incubator-echarts] Ovilia commented on issue #12109: Angle axis in polar axis not rendering negative values correctly

Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #12109: Angle axis in polar axis not rendering negative values correctly
URL: https://github.com/apache/incubator-echarts/issues/12109#issuecomment-579187822
 
 
   Thanks for reporting. This is a bug.

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


With regards,
Apache Git Services

---------------------------------------------------------------------
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 #12109: Angle axis in polar axis not rendering negative values correctly

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #12109: Angle axis in polar axis not rendering negative values correctly
URL: https://github.com/apache/incubator-echarts/issues/12109#issuecomment-577989208
 
 
   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


With regards,
Apache Git Services

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


[GitHub] [incubator-echarts] sikazhang commented on issue #12109: Angle axis in polar axis not rendering negative values correctly

Posted by GitBox <gi...@apache.org>.
sikazhang commented on issue #12109: Angle axis in polar axis not rendering negative values correctly
URL: https://github.com/apache/incubator-echarts/issues/12109#issuecomment-587577744
 
 
   I have located the problem at the file barPolar.js,  it seems that the value of baseCoord is incorrect. based on the code, baseCoord = valueAxis.getExtent()[0]; Howerver I can't find out the correct  variable to replace it. If anyone solves the problem, please @ me and give me a chance to learn, TX!

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


With regards,
Apache Git Services

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


[GitHub] [incubator-echarts] karma2014 edited a comment on issue #12109: Angle axis in polar axis not rendering negative values correctly

Posted by GitBox <gi...@apache.org>.
karma2014 edited a comment on issue #12109: Angle axis in polar axis not rendering negative values correctly
URL: https://github.com/apache/incubator-echarts/issues/12109#issuecomment-593271084
 
 
   [example](https://gallery.echartsjs.com/editor.html?c=xXsPmq1-U&v=1)
   This case I have modified the data [1,1,1]to [2,2,2],and change the radiusAxis.min to 1, and found that the view is wrong.
   This is my option:
   ```
   option = {
       angleAxis: {
           type: 'category',
           data: ['S1', 'S2', 'S3']
       },
       radiusAxis: {
           min: 1,
           max: 6
       },
       polar: {
       },
       series: [{
           type: 'bar',
           data: [2, 2, 2],
           coordinateSystem: 'polar',
           itemStyle:{
               color:"blue"
               
           },
           name: 'A',
           stack: 'a'
       },
       {
           type: 'bar',
           data: [2, 2, 2],
           coordinateSystem: 'polar',
           name: 'B',
           stack: 'a'
       },
       {
           type: 'bar',
           data: [2, 2, 2],
           coordinateSystem: 'polar',
           name: 'C',
           stack: 'a'
       }],
       legend: {
           show: true,
           data: ['A', 'B', 'C']
       }
   };
   ```
   So I guess this ”min“ do not support value except 0.   

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


With regards,
Apache Git Services

---------------------------------------------------------------------
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 #12109: Angle axis in polar axis not rendering negative values correctly

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #12109: Angle axis in polar axis not rendering negative values correctly
URL: https://github.com/apache/incubator-echarts/issues/12109#issuecomment-579187981
 
 
   This issue is labeled with `difficulty: easy`.
   @ThomasSteiner Would you like to debug it by yourself? This is a quicker way to get your problem fixed. Or you may wait for the community to fix.
   
   Please have a look at [How to debug ECharts](https://github.com/apache/incubator-echarts/blob/master/CONTRIBUTING.md#how-to-debug-echarts) if you'd like to give a try. 🤓

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


With regards,
Apache Git Services

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


[GitHub] [incubator-echarts] karma2014 edited a comment on issue #12109: Angle axis in polar axis not rendering negative values correctly

Posted by GitBox <gi...@apache.org>.
karma2014 edited a comment on issue #12109: Angle axis in polar axis not rendering negative values correctly
URL: https://github.com/apache/incubator-echarts/issues/12109#issuecomment-593271084
 
 
   [This case](https://gallery.echartsjs.com/editor.html?c=xXsPmq1-U&v=1) I have modified the data [1,1,1]to [2,2,2],and change the radiusAxis.min to 1, and found that the view is wrong.
   This is my option:
   ```
   option = {
       angleAxis: {
           type: 'category',
           data: ['S1', 'S2', 'S3']
       },
       radiusAxis: {
           min: 1,
           max: 6
       },
       polar: {
       },
       series: [{
           type: 'bar',
           data: [2, 2, 2],
           coordinateSystem: 'polar',
           itemStyle:{
               color:"blue"
               
           },
           name: 'A',
           stack: 'a'
       },
       {
           type: 'bar',
           data: [2, 2, 2],
           coordinateSystem: 'polar',
           name: 'B',
           stack: 'a'
       },
       {
           type: 'bar',
           data: [2, 2, 2],
           coordinateSystem: 'polar',
           name: 'C',
           stack: 'a'
       }],
       legend: {
           show: true,
           data: ['A', 'B', 'C']
       }
   };
   ```
   So I guess this ”min“ do not support value except 0.   

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


With regards,
Apache Git Services

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


[GitHub] [incubator-echarts] karma2014 commented on issue #12109: Angle axis in polar axis not rendering negative values correctly

Posted by GitBox <gi...@apache.org>.
karma2014 commented on issue #12109: Angle axis in polar axis not rendering negative values correctly
URL: https://github.com/apache/incubator-echarts/issues/12109#issuecomment-593271084
 
 
   [](https://gallery.echartsjs.com/editor.html?c=xXsPmq1-U&v=1)
   This case I have modified the data [1,1,1]to [2,2,2],and change the radiusAxis.min to 1, and found that the view is wrong.
   This is my option:
   ```
   option = {
       angleAxis: {
           type: 'category',
           data: ['S1', 'S2', 'S3']
       },
       radiusAxis: {
           min: 1,
           max: 6
       },
       polar: {
       },
       series: [{
           type: 'bar',
           data: [2, 2, 2],
           coordinateSystem: 'polar',
           itemStyle:{
               color:"blue"
               
           },
           name: 'A',
           stack: 'a'
       },
       {
           type: 'bar',
           data: [2, 2, 2],
           coordinateSystem: 'polar',
           name: 'B',
           stack: 'a'
       },
       {
           type: 'bar',
           data: [2, 2, 2],
           coordinateSystem: 'polar',
           name: 'C',
           stack: 'a'
       }],
       legend: {
           show: true,
           data: ['A', 'B', 'C']
       }
   };
   ```
   So I guess this ”min“ do not support value except 0.   

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


With regards,
Apache Git Services

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


[GitHub] [incubator-echarts] Ovilia closed issue #12109: Angle axis in polar axis not rendering negative values correctly

Posted by GitBox <gi...@apache.org>.
Ovilia closed issue #12109:
URL: https://github.com/apache/incubator-echarts/issues/12109


   


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