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/05/17 09:26:28 UTC
[GitHub] [echarts] Nauxscript opened a new issue, #17052: [Bug] the view move strangely after set the scaleLimit
Nauxscript opened a new issue, #17052:
URL: https://github.com/apache/echarts/issues/17052
### Version
echarts@5.3.2
### Link to Minimal Reproduction
https://codepen.io/Nauxscript/pen/VwQpwNG
### Steps to Reproduce
use the public example in [https://echarts.apache.org](https://echarts.apache.org) : [https://echarts.apache.org/examples/zh/editor.html?c=graph&reset=1&edit=1](https://echarts.apache.org/examples/zh/editor.html?c=graph&reset=1&edit=1)
and add scaleLimit like:
```
...
series: [
{
name: 'Les Miserables',
type: 'graph',
layout: 'none',
data: graph.nodes,
links: graph.links,
categories: graph.categories,
roam: true,
label: {
position: 'right',
formatter: '{b}'
},
scaleLimit: {
min: 2,
max: 12
},
lineStyle: {
color: 'source',
curveness: 0.3
},
emphasis: {
focus: 'adjacency',
lineStyle: {
width: 10
}
}
}
]
...
```
### Current Behavior
the view will move, its ok, but the location of the move is incorrect and strangely
like:

the last move in this gif is cause by scrolling the wheel crazily
### Expected Behavior
the center of echart view is correct and its would not move strangely
### Environment
_No response_
### 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] Nauxscript commented on issue #17052: [Bug] the view move strangely after set the scaleLimit
Posted by "Nauxscript (via GitHub)" <gi...@apache.org>.
Nauxscript commented on issue #17052:
URL: https://github.com/apache/echarts/issues/17052#issuecomment-1738688741
> I had a similar problem, where if I scaled out (or in, it doesn't really matter) completely and then try to zoom out some more, the zoom would stay at the scaleLimit, but the center would still change.
>
> I opened a [StackOverflow question](https://stackoverflow.com/questions/77187236/echarts-center-moves-in-graph-with-scalelimit) and have found a workaround, but I still think it's a bug that shouldn't happen.
As you can see, it has been around a year and a half since this occurred, and I’m not sure if anyone will fix it ...
--
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] larissac-bb commented on issue #17052: [Bug] the view move strangely after set the scaleLimit
Posted by "larissac-bb (via GitHub)" <gi...@apache.org>.
larissac-bb commented on issue #17052:
URL: https://github.com/apache/echarts/issues/17052#issuecomment-1738679955
I had a similar problem, where if I scaled out (or in, it doesn't really matter) completely and then try to zoom out some more, the zoom would stay at the scaleLimit, but the center would still change.
I opened a [StackOverflow question](https://stackoverflow.com/questions/77187236/echarts-center-moves-in-graph-with-scalelimit) and have found a workaround, but I still think it's a bug that shouldn't happen.
--
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] the view move strangely after set the scaleLimit [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #17052:
URL: https://github.com/apache/echarts/issues/17052#issuecomment-3368539242
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] the view move strangely after set the scaleLimit [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #17052: [Bug] the view move strangely after set the scaleLimit
URL: https://github.com/apache/echarts/issues/17052
--
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] the view move strangely after set the scaleLimit [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #17052:
URL: https://github.com/apache/echarts/issues/17052#issuecomment-3342045735
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