Skip to content

Image export, on_color_changed, rotation of column labels #24

@akaever

Description

@akaever

I've encountered a couple of issues when working with the dev version:

  1. When exporting png images (camera symbol), a zoom factor 3 is applied to the heatmap. For larger heatmaps, this results in pretty high memory consumption (up to 1.5 GB). Some input to adjust this factor would be quite useful (I currently use a simple prompt).

For Chrome and Show image, an iframe environment is needed:

function open_image(dataUrl){
      // put image data into iframe (otherwise issues with chrome)
      var iframe = "<iframe width='100%' height='100%' src='" + dataUrl + "'></iframe>";
      var x = window.open();
      x.document.open();
      x.document.write(iframe);
      x.document.close();
      // window.open(dataUrl, "_blank");
};
  1. Looks like a couple of event handlers were dropped in the dev version. on_color_changed was quite useful for storing and restoring heatmap settings. I guess you dropped some of these handlers which were not used so frequently?

  2. The partial rotation of column labels was removed (90/-90 instead of 45/-45). This feature was quite useful for reading the labels or long labels..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions