My open source data visualization treemap component for Flex just received some updates today. Among them are my recent fixes to get this component working correctly in Flex 4. I figured I’d push a new SWC up for those of you who prefer to grab the ZIP file instead of building from source. Please note that version 2.2.0 of flextreemap is still compatible with Flex 3.5, and no Spark dependencies are present. The changes to support Flex 4 were mainly to fix bugs that only appeared in that version.
As a bonus, I also included a new layout algorithm in this version. It’s called StripLayout. This algorithm is very similar to the default SquarifyLayout, so it was pretty easy to implement. You can see it in action by viewing the LayoutModes example. However, I should note that StripLayout may be best used in situations where a larger number of items are displayed by the TreeMap, since it’s not quite as good as SquarifyLayout at getting good aspect ratios. It may also be useful when the order of nodes matters because SquarifyLayout sorts by weight, while StripLayout leaves items in the same order as the data provider.
Download version 2.2 of flextreemap on Github. If you catch any bugs, especially in Flex 4, be sure to create an issue. Thanks!
Can you add any effects like zooming, when you click a leaf, for drilling down ?
If you can, please let me know how ?
Thanks,
No, effects aren’t available. I wanted to add a zoom effect to drill-down, but I couldn’t think of an easy way to do it. Since the act of drilling down could significantly change the layout of a branch, that would mean quite a number of updates during the animation, and it could be visually confusing too.
Hi. Could you please add drag & drop events for the items?.
It seems like actually only the entire treemap can be dragged.
Thank you!!!