Skip to content

Heatmap: render error when (2^16)/2 cells are off the screen #2119

@swharden

Description

@swharden

@dhgigisoave found in #2116 that heatmaps fail to render properly when an edge has more than (2^16)/2 cells off the screen.

To prevent this issue we should probably extend the existing dimension checks to throw an exception if any edge is length 32768 or greater.

if (DataWidth > 1e6 || DataHeight > 1e6)

A true fix may be achieved by rendering large 2D arrays with multiple Bitmaps, but that complex task may not represent a high development priority at this time. Users can always break their data into smaller arrays and display heatmaps side-by-side.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions