Quantcast
Channel: Tutorials – amCharts Version 3 Documentation
Viewing all articles
Browse latest Browse all 111

Unselecting map object after its description box is closed

$
0
0

When you click an object on the map - an area or image - that has a description, the object is selected and the description box pops up.

This demo shows how you can use descriptionClosed event and selectObject() method without any parameters to automatically unselect the object when the description box is closed.

"listeners": [{
  "event": "descriptionClosed",
  "method": function(ev) {
    ev.chart.selectObject();
  }
}]

Viewing all articles
Browse latest Browse all 111

Trending Articles