library heatmap
Generate heatmaps with custom backgrounds
icydata/heatmap
Generate heatmaps with custom backgrounds
- Tuesday, July 10, 2018
- by lang14
- Repository
- 1 Watchers
- 0 Stars
- 0 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
IcyData Heatmap
Installation
composer require icydata/heatmap, (*1)
Usage
use IcyData\Heatmap;
$heatmap = new Heatmap();
$heatmap->addPoint(10, 10);
...
$heatmap->addPoint(30, 30);
$heatmap->save('/tmp/heatmap.png');
Use a custom background
$heatmap = new Heatmap([
'backgroundImg' => '/path/to/file.png'
]);
License
Please review LICENSE.md, (*2)