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

Transparency and rendering problem #11

Closed ftabaro closed 8 years ago

ftabaro commented 8 years ago

Hi,

I am using this library to show show in-house computed features. I have problems with transparencies and sequence axis when rendering the feature-viewer div. Check out the attached snapshot for an example of broken visualization.

screenshot from 2016-07-01 14 41 37

I have the d3 library and bootstrap.js loaded. Everything works (selections and callbacks) but the transparencies and the axis rendering. How can I fix it?

harryjubb commented 8 years ago

It looks like you might be missing the featureviewer stylesheet (feature-viewer/css/style.css). If you don't have that linked to, does adding that help?

ftabaro commented 8 years ago

That was it! Sorry for the noob question... I didn't think of css!

Thanks.

MatSchaeff commented 8 years ago

Not your fault, It wasn't said anywhere to also include the css file..

I updated the Readme and added feature-viewer.min.css in the dist folder. (bundle of bootstrap.css & feature-viewer css)