Back to Devexpress

MapChartItemBase.Size Property

wpf-devexpress-dot-xpf-dot-map-dot-mapchartitembase-dbf04098.md

latest1.8 KB
Original Source

MapChartItemBase.Size Property

Gets or sets the size of the map Chart item.

Namespace : DevExpress.Xpf.Map

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

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public double Size { get; set; }
vb
Public Property Size As Double

Property Value

TypeDescription
Double

A Double value.

|

Example

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.

xaml
<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

MapChartItemBase Class

MapChartItemBase Members

DevExpress.Xpf.Map Namespace