Menu

#248 Heat Map: Change TextNode-Rendering

any future version
open
nobody
None
Feature #83
5
2017-01-24
2016-11-10
No

The labeling of the heat-map-cells is provided by text-nodes which are kept at a layer above the cells. This prevents the text-nodes from beeing zoomed, If the view is zoomed.or panned, the position of the text-nodes must be adjusted. This is done at the paint()-method everytime the view is rendered. In addition the text-nodes shall only be shown, if the respective cell is big enough. This is also handled by the paint()-method. In each render-operation, all text-nodes are removed from their parent, and are re-added, if necessary. Both procedures not only include a lack of efficiency, but also cause errors if the heat-map shall be exported to an image.

Therefore the architecture should be changed.

Discussion

  • Philipp Mewes

    Philipp Mewes - 2016-11-10
    • Blocks: --> Feature #83
     
  • Till Schäfer

    Till Schäfer - 2016-11-21

    issue with thte current branch: the values all show the string "TEST".

     
  • Till Schäfer

    Till Schäfer - 2016-11-21

    another observation: while the scrolling seems to be a bit faster now, zooming is even slower (compared to master)

     
  • Till Schäfer

    Till Schäfer - 2016-11-21

    zooming seems to be very slow especially when the zoom hits the semantic zoom level in which the text nodes are shown. Furthermore, the master branch seem to paint the text nodes asynchroniously, while this is not observable in the bug branch anymore. At least one cannot see values being drawn after the cell rendering was done (Maybe this is just because the values are no logner fetched from the databse and shot the "TEST" string instead?).

     
  • Philipp Mewes

    Philipp Mewes - 2016-11-22

    The "TEST"-strings are used to survey performance issues that are present. If the values are loaded from the database, the progress is even slower. I'm working on a solution to enhance the performance.

     
  • Philipp Mewes

    Philipp Mewes - 2017-01-24
    • status: in-progress --> open
     
  • Till Schäfer

    Till Schäfer - 2017-01-24
    • assigned_to: Philipp Mewes --> nobody
     

Log in to post a comment.

MongoDB Logo MongoDB