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/09 08:19:40 UTC

[GitHub] [incubator-echarts] 1234scarecrow opened a new issue #13400: 关闭magicType切换图表类型的bug

1234scarecrow opened a new issue #13400:
URL: https://github.com/apache/incubator-echarts/issues/13400


   ### Version
   5.0.0-alpha.2
   
   ### Reproduction link
   [https://echarts.apache.org/examples/zh/editor.html?c=line-simple](https://echarts.apache.org/examples/zh/editor.html?c=line-simple)
   
   ### Steps to reproduce
   1. 在官方实例中,配置toolbox.feature. magicType中的type为['line', 'bar']
   2. 点击运行后点击图表右上角的折线图图标,Mon项会从左边原点靠右一点的位置移动到原点位置,Sun项同理移动到x轴最右,其余项自适应扩散一点
   3. 切换柱状图与折线图时也可以看到x轴坐标移动
   
   ### What is expected?
   切换图表类型时x轴坐标不移动
   
   ### What is actually happening?
   切换图表类型时,x轴左边会发生移动
   
   <!-- This issue is generated by echarts-issue-helper. 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] 1234scarecrow closed issue #13400: 关于magicType切换图表类型的bug

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


   


----------------------------------------------------------------
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 #13400: 关闭magicType切换图表类型的bug

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


   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


[GitHub] [incubator-echarts] plainheart commented on issue #13400: 关于magicType切换图表类型的bug

Posted by GitBox <gi...@apache.org>.
plainheart commented on issue #13400:
URL: https://github.com/apache/incubator-echarts/issues/13400#issuecomment-706112789


   目前通过 `toolbox` 切换到 `bar` 时会默认将 `boundaryGap` 设置为 `true`,`line` 则为 `false`,所以切换时会看到 x 轴坐标移动。
   不过不太清楚这么做的具体原因。
   相关代码逻辑:https://github.com/apache/incubator-echarts/blob/next/src/component/toolbox/feature/MagicType.ts#L116-L132


----------------------------------------------------------------
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] 1234scarecrow commented on issue #13400: 关于magicType切换图表类型的bug

Posted by GitBox <gi...@apache.org>.
1234scarecrow commented on issue #13400:
URL: https://github.com/apache/incubator-echarts/issues/13400#issuecomment-706930889


   哦哦知道了,折线图和柱状图似乎是类目轴和非类目轴,所以他们的展现方式不一样


----------------------------------------------------------------
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 #13400: 关闭magicType切换图表类型的bug

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


   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


[GitHub] [incubator-echarts] plainheart commented on issue #13400: 关于magicType切换图表类型的bug

Posted by GitBox <gi...@apache.org>.
plainheart commented on issue #13400:
URL: https://github.com/apache/incubator-echarts/issues/13400#issuecomment-706112789


   目前通过 `toolbox` 切换到 `bar` 时会默认将 `boundaryGap` 设置为 `true`,`line` 则为 `false`,所以切换时会看到 x 轴坐标移动。
   不过不太清楚这么做的具体原因。
   相关代码逻辑:https://github.com/apache/incubator-echarts/blob/next/src/component/toolbox/feature/MagicType.ts#L116-L132


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