calipho-sib / feature-viewer

Library to visualize protein sequence features in javascript using D3 - From SIB CALIPHO group; neXtProt project
http://calipho-sib.github.io/feature-viewer/examples/
Other
112 stars 32 forks source link

How to zoom out programmatically #4

Closed vbazurtob closed 8 years ago

vbazurtob commented 8 years ago

Hi,

I would like to zoom out programmatically. I want to implement a button and then fire the zoom out functionality with that button. How can I achieve that?

MatSchaeff commented 8 years ago

Dear Vbazurtob,

This functionality is not available yet, but i'm working on it. Keep in touch,

Best, Mathieu

MatSchaeff commented 8 years ago

Hello,

I released a new version of the feature-viewer. https://github.com/calipho-sib/feature-viewer/releases/tag/v0.1.40

You can now zoom programmatically with two new methods :

Check out the documentation for examples : https://cdn.rawgit.com/calipho-sib/feature-viewer/v0.1.40/examples/index.html

Cheers, Mathieu