jQWidgets jqxChart getXAxisRect() Method
The getXAxisRect() method is used to get the rectangle coordinates of the x-axis. It takes a single number type value groupIndex as the parameter and returns an object that contains the data of the rectangle.
var getXAxisRect = chartInstance.getXAxisRect(0);
Linked Files: Download jQWidgets from the link. In the HTML file, locate the script files in the downloaded folder:
<link rel=”stylesheet” href=”jqwidgets/styles/jqx.base.css” type=”text/css” />
Example: The below example illustrates the jqxHeatMap getXAxisRect() method in jQWidgets: