snoTHAWER

<= Back to main page

Visualisation parts

    [A][][]
    [B][][][]

      C |   D   |
    -------------
        ||F|||  G ==
    E   ---------    ==
        |||||                            
    -------------     H
    I ▓▓▓▓▓▓▓▓▓▓▓  ▓▒░ ░▒▓
                   |""|""| J

                      K
                      @
                      @
                      @ 

Process

snoTHAWER constructs an heatmapObject from JSON data provided by heatmapToolbox.js. It does not validate if the JSON format is valid and does not do any verifications on the content of the data. As such it is very flimsy if messed around with. The current data parsers should be sufficiently fool-proofed to avoid most errors.

Areas A,B,C,G,H,I,J and K are painted once.

NOTE: the unused changeColor and changeColorMinor methods of class heatmapObject do repaint the affected areas.

Areas C,D,E and F are repainted each time a change is made to the heatmap (i.e, on row swaps, on column swaps and on minor reorders).

On a small scale, these repaintings do not take long. However, since the complexity of the painting algorithm is O(n) where n is the number of values, repaintings of larger tables can take a bit more time. If something had to be optimized, it would be that.