Next
Update
Prev

A specific region can be selected when the chart is loaded by using the KoolMap APIs, setOpenCode() and setSelectedCode(). This example map chart demonstrates how to select Cochise (code : 3002), Arizona (code : 3000) when the chart is loaded.

function KoolMapOnLoad() {
  mapApp = document.getElementById("map1");
  mapRoot = mapApp.getRoot();
  mapRoot.setOpenCode("3000");
  mapRoot.setSelectedCode("3002");
}

© 2017 KoolChart. All rights reserved.