-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Graph2d zoom/pan problems #3651
Comments
I can confirm this: http://visjs.org/examples/graph2d/01_basic.html |
@yotamberk This a big thing! Can you please have a look when you find the time. |
Also broken in 4.20.1 but works in 4.20.0 i.e. Downgrading to 4.20.0 fixes the issue |
In an attempt to be helpful I've been trying to figure this out. Unfortunately I'm still not sure of the root cause of this, however if it helps at all in Core.js if you comment out lines 110 and 112 then the zoom is fixed on the 2d Graphs. I believe the problem might have been introduced in 6afc095 because there were changes to the .initialDrawDone setting there, but I'm still trying to isolate this Matt |
Ok I think I finally narrowed it down. It is the 6afc095 changes. All of the code from TimeLine.js Line 164 to 192 needs to be copied into Graph2d.js line 118. I'm unfamiliar with the entire code base, so I may be missing something in the big picture, but this does fix it. |
Hi all, |
I have similar issue with autoresizing, I have dual xAxis with 3 goups. One includeed in left dataAxis and rest two in right dataAxis. The problem is that graph resizing in wrong way and it is just draw 2 lines instead of 3. Bellow i send you example of data I have used.
Graph draw just red and blue line and yellow one is not included into right dataAxis scale. Graph set scale 4 to 10 not 1-10. I cant set this parameters by myself, because of the amount of data. |
any news on this? |
Since it's fixed since a long time, and there hasn't been a release since more than a year, it seems to me that a release is due. Any updates? Do you need help? |
I also need this fix badly. Thanks. |
is there any news on this?? |
It does seem that the package is not being maintained anymore... that's sad! |
Hello there, To bounce back on @Lopton said About the "initialDrawDone" property that would be problematic...
I have tested all the Graph2d and Timeline examples and they all work normally. It remains to be confirmed of course to see all the interactions involved with itemSet undefined? |
is there any workaround to disable the scrolling completely? just display a simple graph? |
You can set the option I also found that this works ...
|
Hi, In the new release does not work Graph2d, try to move the mouse, only the graph moves
The text was updated successfully, but these errors were encountered: