iOS简单的热图实现:IBHeatMap

jopen 10年前

IBHeatMap 是 iOS 简单的 HeatMap 实现。

Properties

The IBHEatMap has the following properties:

@property (nonatomic, strong) id<IBHeatMapDelegate> delegate;

An array that contains the colors in order of ascending order.

@property (nonatomic, strong) NSArray *colors;

An array that contains all the points with relative values ranging from 0 to 1 (in both XX and YY axis as CGPoints in NSValues).

@property (nonatomic, strong) NSArray *points;

And finally a CGFloat value for the point radius of impact.

@property (nonatomic, assign) CGFloat pointRadius;

iOS简单的热图实现:IBHeatMap

项目主页:http://www.open-open.com/lib/view/home/1406190851429