VIDA-NYU / genotet

Genotet: An Interactive Web-based Visual Exploration Framework to Support Validation of Gene Regulatory Networks
Apache License 2.0
6 stars 5 forks source link

Change the expression heatmap to canvas. #165

Closed liana-yang closed 8 years ago

yubowenok commented 8 years ago

Performance:

Bugs:

liana-yang commented 8 years ago

@yubowenok You can review this pr now.

yubowenok commented 8 years ago

Can we prevent the canvas from being larger than the view when resizing to a smaller size? One possible solution would be to scale the canvas during the view resize, but without a redraw (Or even simpler, you can just truncate the canvas during resizing).

yubowenok commented 8 years ago

This css might work for the purpose.

.view {
  overflow: hidden;
}

However, I'm not sure if there will be any side effects somewhere else.

liana-yang commented 8 years ago

@yubowenok It works well.

yubowenok commented 8 years ago

LGTM