javascriptdygraphs

What happened to isZoomedIgnoreProgrammaticZoom?


I am using dygraph 1.1.0 since, well... forever :-) Now I wanted to have a look at dygraph 2.0.0 and of course expected some migration to do. Now, the only error I actually get after simply replacing the *.js files is:

 Uncaught invalid option isZoomedIgnoreProgrammaticZoom  dygraph.js:4448

When I remove this option from my code, everything still seems to work.

I could not find anything about the option in the new docs, so my question in:

What happened to isZoomedIgnoreProgrammaticZoom?


Solution

  • That option was removed in the 2.0 release.

    That option affected the behavior of the isZoomed() method. If you're not using that method, you can remove the option without changing anything. If you are, it should be possible to get whatever behavior you want by using other methods in the dygraphs API. But I'd need more specifics to help.