Example of undefined in Javascript Heatmap Chart Control

/
/
Color Range

This sample visualizes the energy consumption in trillion British thermal units (btu) by the various public sectors in US government over the years. The data label is disabled in this sample, the tooltip displays the data point values. In property panel, the options are available to change palette type in Heatmap by means of radio button.

More Details...

Palette Type:
Description

This example explains how to provide a specific color for specific range in heatmap. The startValue and endValue properties are used to define the range start and end values. The minColor and maxColor properties represent the colors of given range. The tooltip is enabled in this example. To see the tooltip in action, hover the mouse over an item or tap an item on touch-enabled devices. Injecting Module Heatmap component features are separated into discrete feature-based modules. To use a tooltip, inject the Tooltip module using the Heatmap.Inject(Tooltip) method, and to use a legend, inject the Legend module using the Heatmap.Inject(Legend) method.