iOS簡單的熱圖實現:IBHeatMap

jopen 10年前發布 | 14K 次閱讀 IBHeatMap iOS開發 移動開發

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.baiduhome.net/lib/view/home/1406190851429

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!