Getting Started

The jqxHeatMap represents a jQuery widget which displays a graphical representation of data that uses a system of color-coding to represent different values.
Every UI widget from jQWidgets toolkit needs its JavaScript files to be included in order to work properly.

The first step is to create html page and add links to the javascript files and css dependencies to your project. The jqxHeatMap widget requires the following files:


The next step is to create a DIV element within the body of the html document.

The last step is to initialize the widget by adding the following script to the html document:

To call a function(method), you need to pass the method name and parameters(if any) in the jqxHeatMap’s constructor.
$("#jqxHeatMap").jqxHeatMap('setPaletteType', 'Fixed');
    
To set a property(option), you need to pass the property name and value(s) in the jqxHeatMap's constructor.
$("#jqxHeatMap").jqxHeatMap({ title: "Defective Car Parts Count per a Manufacturing Unit" });
    
To get a property(option), you need to pass the property name to the jqxHeatMap's constructor.
var height = $("#jqxHeatMap").jqxHeatMap("title");
    

Basic Sample

The result of the above code is: