vizulyJuly 1, 2016 at 6:12 am #6299
That is a good question. The reason why negative numbers are being removed as it would not make sense to “visually” display a negative number with the tree – as you can represent a tree branch or node with a thickness or diameter of less than 0.
But, I understand that you want that data to roll up into aggregate sums.
I suggest removing that line in the
prepData()function and keeping the negative numbers in the raw data. Then in the
weightedtree.js updateNode()function going through and removing any tree nodes that have a value of 0 or less. This will allow the aggregation to occur while still not trying to display negative values.
You must be logged in to reply to this topic.
© 2021 — vizuly.io