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

Fill in this quick form and discover your digital future
Choose your interests:

Where to find us

We'd love to welcome you into our office! We're only 20 miles north of Peterborough, conveniently just off the A16.

Carver House
Apex Court, Elsoms Way
Pinchbeck
Lincolnshire
PE11 3UL