Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
85
IGTreemapView - override tapWithNode
posted

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

Parents
No Data
Reply
  • 26458
    Offline posted

    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;
    }

     

Children