Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fukata/jquery-heatmap

HeatMap utility for jQuery plugin
https://github.com/fukata/jquery-heatmap

Last synced: 29 days ago
JSON representation

HeatMap utility for jQuery plugin

Awesome Lists containing this project

README

        

# What's this
HeatMap utility for jQuery Plugin.

## Usage



var points = {"362:696": 1, "365:323": 1, "430:61": 1, "146:18": 2, "643:314": 1, "345:173": 1, "142:24": 1, "682:652": 1, "382:373": 1, "282:179": 1, "66:70": 1, "66:71": 1, "410:348": 1, "335:433": 1, "603:346": 1, "243:146": 1, "123:82": 1};
var maxPoint = 2;
$("body").heatmap({}, points, maxPoint);

## Methods
### heatmap(options, points, maxPoint)
Draw HeatMap

- options (json)
- scale (int)
point scale.
- alpha (float) 0 - 1
point alpha.
- hoverBoder (string)
point hover style.
- bgAlpha (float) 0 - 1
background alpha.
- bgColor (string)
background color.
- bgId (string)
background div element ID.
- points (json)
heatmap points.
- maxPoint (int)
heatmap max point.

# Change Logs
## v0.1
initial