29th April 2016

DevExpress Dashboards

DevExpress Dashboards

Scenario

We created a GeoPoint map on a DevExpress Dashboard and enabled clustering to group together many points that are close together when zooming out of the map. When the user hovers over a point the hover over popup only showed the count of items within that cluster, we wished to enhance this functionality to show a count and a list of all of the items within the clustered point.

  

Solution

To add the required functionality we have to adjust the behaviour within the Dashboard Item Control Created Event Handler and also the Dashboard Item Control Updated Event Handler as shown below.

We then have to adjust the behaviour within the MapControl TooltipController.BeforeShow Event Handler to ad d the point value of each item within our cluster to the hover popup list.

image

Choose your interests: