Example of undefined in Javascript Heatmap Chart Control


This sample visualizes the overall Olympic medals won by the countries in all the summer Olympic events from the year 2000 to 2016.

More Details...


In this example, you can see how to bind JSON data and configure the Heatmap using the data adaptor support. You can bind the JSON data with information for each row to the Heatmap using isJsonData and by defining the adaptorType properties. In row JSON data, the row header is mapped using the xDataMapping. 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 data adaptor support, inject the Adaptor module using Heatmap.Inject(Adaptor) method, 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.