-
Hi, I'm having some issues with embedding the visualizer in Galaxy and was hoping you might have some ideas. Any thoughts or suggestions appreciated! The first problem is that I'm getting different results for Safari and Chrome for the heatmap viewer. Using Safari, it looks identical to your demo. However for Chrome it looks like this screenshot. It seems like some data is missing, but since it's the same frontend and backend it seems to be some issue with the browser that is causing the problem. The second problem is that I see some minor styling differences between your demo and Galaxy for both Safari and Chrome. In particular there is a grey background that appears when mousing over a control as shown in the screenshot. I'm importing |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I think the first issue is just a matter of changing the scale of the color map from log back to linear. This setting is saved in the browser, so maybe you've changed the scale in Chrome at some point? The second issue is definitely a bug, we'll fix it asap! |
Beta Was this translation helpful? Give feedback.
-
The first issue is most likely caused by Galaxy's own styles. This is a tough one to fix "cleanly" due to the way CSS works: you have to override each problematic style with a more specific selector but not too specific that it breaks other H5Web styles... For instance, for the gray background when hovering buttons, Galaxy probably has a style rule that looks like this: There is one alternative solution, however, which is to render the viewer inside an iframe. Typically this involves serving the app at a static URL and then embedding it with If this technique works, it would be perfect for the |
Beta Was this translation helpful? Give feedback.
I think the first issue is just a matter of changing the scale of the color map from log back to linear. This setting is saved in the browser, so maybe you've changed the scale in Chrome at some point?
The second issue is definitely a bug, we'll fix it asap!