Hi,
I am trying to override tapWithNode for the treemapview as I need to get some info from the tapped node. I can accomplish the override using the delegate but how do I continue with the Treemap normal (drill-down) operation, what method(s) should I call on the treemapview and/or the node in the tapWithNode method?
Regards,
Aviv
Hi Aviv,
You can set the root node of the treemap to be the tapped node.
-(void)treemapView:(IGTreemapView *)treemapView tapWithNode:(IGTreemapNode *)node atPoint:(CGPoint)point{ treemapView.rootNode = node;}
this does not seem to do anything other than just hide the tapped node.
Our developers have resolved the issue in our internal code base. Until the resolution is published, you can get around the issue by removing the old root node before setting the new one.
-(void)treemapView:(IGTreemapView *)treemapView tapWithNode:(IGTreemapNode *)node atPoint:(CGPoint)point{ [treemapView.rootNode removeFromSuperview]; treemapView.rootNode = node;}