EaxAnalyzer.MapData

Syntax

MapData: Object

Description

The MapData property contains data of the express report Map view.

Comments

Property value can be set using JSON or the setMapData method, and obtained using the getMapData method.

Value of the property is a JSON object with the following fields: id - bubble chart identifier, meta - metadata of express report bubble chart.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component).  Get the number of countries shown in the express report map:

var eaxAnalyzer = expressBox.getSource();
// Get data of express report map
var mapData = eaxAnalyzer.getMapData()
// Show countries count for the map
console.log("Number of countries in the map: " + mapData.MapChart.RegionsNames.RegionName.length);

After executing the example the browser console displays the number of countries in the express report map:

Number of countries in the map: 83

See also:

EaxAnalyzer