Conforms to NSObject
Declared in IGTreemapViewDataSource.h

Overview

This protocol must be implemented by any interface that will be used as the datasource for the treemap view. The job of a treemap datasource is to create the initial tree node structure and set the links between the treemap view and the treemap nodes.

Instance Methods

provideSourceForTreemapView:

Returns the data structure used to populate the treemap.

- (NSObject *)provideSourceForTreemapView:(IGTreemapView *)treemapView

Parameters

treemapView

Reference to the treemap view.

Declared In

IGTreemapViewDataSource.h

treemapView:provideRootNodeWithSource:

Asks to provide the initial root node for the treemap view.

- (IGTreemapNode *)treemapView:(IGTreemapView *)treemapView provideRootNodeWithSource:(NSObject *)source

Parameters

treemapView

Reference to the treemap view.

source

Data structure used to create the nodes.

Return Value

The treemap node that will be the root node.

Declared In

IGTreemapViewDataSource.h