Demos

Explore interactive demos to see our features in action. Try them out and discover how they can work for you.

Editable Trend Types

Explore an example of a Heat.js instance configured to allow trend type to be edited.

Include Files

Make sure you include the following files:

<link rel="stylesheet" href="dist/heat.js.min.css">
<div id="heat-map" id="heat-map" data-heat-js="getBindingOptions()"></div>

Add a new JavaScript function to return to binding options:

function getBindingOptions() {
    return {
        "guide": {
            "allowTypeAdding": true,
            "allowTypeRemoving": true,
        },
    };
}

Result