icydata/heatmap

Generate heatmaps with custom backgrounds

Maintainers

Package info

github.com/williamlang/heatmap

Homepage

pkg:composer/icydata/heatmap

Statistics

Installs: 456

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2018-07-09 22:59 UTC

This package is not auto-updated.

Last update: 2026-05-06 09:28:05 UTC


README

Installation

composer require icydata/heatmap

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