Skip to main content

BubbleChartDataAdapter.Mappings Property

Contains information on how data for chart items should be obtained from a data source.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v24.1.dll

NuGet Package: DevExpress.Wpf.Map

Declaration

public MapBubbleMappingInfo Mappings { get; set; }

Property Value

Type Description
MapBubbleMappingInfo

A MapBubbleMappingInfo object.

Example

<dxm:VectorLayer x:Name="earthquakesLayer" ShapeFill="Orange" ToolTipEnabled="True" 
                 ToolTipPattern="{}{Month}/{Day}/{Year}&#x0a;Magnitude: %V%&#x0a;Depth: {Depth}km">
    <dxm:BubbleChartDataAdapter DataSource="{Binding Data}" 
                                ItemMaxSize="60" ItemMinSize="10">
        <dxm:BubbleChartDataAdapter.AttributeMappings>
            <dxm:MapItemAttributeMapping Member="day" Name="Day"/>
            <dxm:MapItemAttributeMapping Member="mon" Name="Month"/>
            <dxm:MapItemAttributeMapping Member="yr" Name="Year"/>
            <dxm:MapItemAttributeMapping Member="dep" Name="Depth"/>
        </dxm:BubbleChartDataAdapter.AttributeMappings>
        <dxm:BubbleChartDataAdapter.Mappings>
            <dxm:MapBubbleMappingInfo Latitude="glat" Longitude="glon" Value="mag"/>
        </dxm:BubbleChartDataAdapter.Mappings>
        <dxm:BubbleChartDataAdapter.BubbleSettings>
            <dxm:MapBubbleSettings MarkerType="Circle"/>
        </dxm:BubbleChartDataAdapter.BubbleSettings>
    </dxm:BubbleChartDataAdapter>
</dxm:VectorLayer>
See Also