Back to Devexpress

MapBubble Class

windowsforms-devexpress-dot-xtramap-bba48e79.md

latest3.4 KB
Original Source

MapBubble Class

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

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
public class MapBubble :
    MapShape,
    ILocatableRenderItem,
    ISupportCoordLocation,
    IPointCore,
    IMapChartDataItem,
    IMapValueDataItem,
    IMapDataItem,
    IMapChartGroupDataItem,
    ITemplateGeometryItem,
    IMapChartItem,
    IKeyColorizerElement,
    IColorizerElement,
    ISizedPointCore,
    IBubble,
    IMapItemCore
vb
Public Class MapBubble
    Inherits MapShape
    Implements ILocatableRenderItem,
               ISupportCoordLocation,
               IPointCore,
               IMapChartDataItem,
               IMapValueDataItem,
               IMapDataItem,
               IMapChartGroupDataItem,
               ITemplateGeometryItem,
               IMapChartItem,
               IKeyColorizerElement,
               IColorizerElement,
               ISizedPointCore,
               IBubble,
               IMapItemCore

The following members return MapBubble objects:

Remarks

The following image shows an example of a Bubble chart item.

Example

The following code adds a Bubble item to a vector layer’s item storage.

View Example

csharp
ItemStorage.Items.Add(new MapBubble() { Location = new GeoPoint(30, 20), Value = 400, Argument = "A", Size = 100 });
vb
ItemStorage.Items.Add(New MapBubble() With {.Location = New GeoPoint(30, 20), .Value = 400, .Argument = "A", .Size = 100})

The following table lists the API members the code above uses:

MemberDescription
MapBubbleA Bubble item.
MapBubble.ArgumentSpecifies the Bubble item’s argument.
MapBubble.ValueSpecifies the Bubble item’s value.
MapBubble.LocationDefines the Bubble item’s position.
MapBubble.SizeDefines the Bubble item’s size in pixels.

Implements

IColorizerElement

Inheritance

Object MapItem MapShape MapBubble

See Also

MapBubble Members

Generate Chart Items Automatically - Bubble Charts

Vector Items

DevExpress.XtraMap Namespace