You are viewing help content for pre-release software. This document and the features it describes are subject to change. Switch to the current version.

MapBubble Class

The class used to draw a Bubble chart on a map.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v21.2.dll

Declaration

public class MapBubble :
    MapChartItemBase,
    IMapChartItem,
    IMapChartDataItem,
    IMapValueDataItem,
    IMapDataItem,
    IKeyColorizerElement,
    IColorizerElement,
    IClusterItem,
    IClusterItemCore,
    IClusterable

The following members accept/return MapBubble objects:

Remarks

The following image shows two bubble charts with different values:

MapBubble_Example

Examples

This example shows how to manually add bubble charts to a map. To do this, assign the MapItemStorage object to the VectorLayer.Data property. Then, add manually created MapBubble objects to the MapItemStorage.Items collection of the storage.

Note that bubble sizes do not depending on the MapBubble.Value property values.

View Example

<dxm:MapItemStorage>
    <dxm:MapBubble Location="-30,-30" Size="20" 
                   ItemId="A" Value="100"/>
    <dxm:MapBubble Location="30,30" Size="60"
                   ItemId="B" Value="150"/>
</dxm:MapItemStorage>

See also the following example on how to generate map bubbles based on a data source: How to: Automatically Generate Bubble Chart Items from a Datasource.

Implements

See Also