Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/fukata/jquery-heatmap
- Owner: fukata
- License: other
- Created: 2011-05-09T04:01:46.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-05-09T06:57:08.000Z (over 13 years ago)
- Last Synced: 2024-10-10T12:32:03.000Z (about 1 month ago)
- Homepage:
- Size: 97.7 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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