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/06/04 03:04:51 UTC

[GitHub] [incubator-echarts] YouthShouting opened a new issue #12752: 想要支持左右滑动查看数据而不是scale查看

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


   当柱状图横坐标数据较多的时候想左右滑动查看数据不想用缩放功能用缩放的功能有时候横坐标的label会重叠
   


----------------------------------------------------------------
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 edited a comment on issue #12752: 想要支持左右滑动查看数据而不是scale查看

Posted by GitBox <gi...@apache.org>.
plainheart edited a comment on issue #12752:
URL: https://github.com/apache/incubator-echarts/issues/12752#issuecomment-638580002


   这个需求还是建议考虑使用 [dataZoom ](https://echarts.apache.org/zh/option.html#dataZoom)。
   启用 `dataZoom` 组件后可以使用dataZoom slider滑块或鼠标左右拖动或滚轮查看前后数据。
   可以参考这个示例:https://echarts.apache.org/examples/zh/editor.html?c=mix-zoom-on-value
   至于横坐标label重叠 如果可以 建议提供一个可复现的Demo。


----------------------------------------------------------------
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] YouthShouting commented on issue #12752: 想要支持左右滑动查看数据而不是scale查看

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






----------------------------------------------------------------
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 #12752: 想要支持左右滑动查看数据而不是scale查看

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


   > 上面那个柱状图会堆叠很难看,怎样才能然柱状图直接存在间隙呢?
   
   可以使用 [`barCategoryGap`](https://echarts.apache.org/zh/option.html#series-bar.barCategoryGap) - 同一系列的柱间距离 或者 [`barGap`](https://echarts.apache.org/zh/option.html#series-bar.barGap) - 不同系列的柱间距离


----------------------------------------------------------------
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 #12752: 想要支持左右滑动查看数据而不是scale查看

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


   请考虑使用 [dataZoom ](https://echarts.apache.org/zh/option.html#dataZoom)。
   启用 `dataZoom` 组件后可以使用dataZoom slider滑块或鼠标左右拖动或滚轮查看前后数据。
   可以参考这个示例:https://echarts.apache.org/examples/zh/editor.html?c=mix-zoom-on-value


----------------------------------------------------------------
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 #12752: 想要支持左右滑动查看数据而不是scale查看

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


   参考 [`dataZoom-inside.zoomOnMouseWheel`](https://echarts.apache.org/zh/option.html#dataZoom-inside.zoomOnMouseWheel)


----------------------------------------------------------------
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] YouthShouting commented on issue #12752: 想要支持左右滑动查看数据而不是scale查看

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


   能不能禁止缩放,只想要滚动效果


----------------------------------------------------------------
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] 10191591 commented on issue #12752: 想要支持左右滑动查看数据而不是scale查看

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


   设置zoomLock: true


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