peikert / proteomics

package development
1 stars 0 forks source link

download svg only show black boxes #2

Open peikert opened 7 years ago

peikert commented 7 years ago

Under windows download svg only show black boxes.

numairmansur commented 7 years ago

Probably being caused because AI is not able to properly read the CSS information in the SVG

peikert commented 6 years ago

Heatmap colors now works fine. There is still the problem with we black box. We have to remove the "class=brush" group. There are also the colnames missing as well as the rownames.

numairmansur commented 6 years ago

The black box should be gone now. Also added the x and y axis texts.

peikert commented 6 years ago

calling the svg save function affects the show figure in the browser. The black/white box problem is then also shown in the browser. I guess you have to clone the object first. https://stackoverflow.com/questions/728360/how-do-i-correctly-clone-a-javascript-object/30042948#30042948

numairmansur commented 6 years ago

Removed "transparent" objects. Added object cloning.