MapBubbleSettings.MarkerType Property
Gets or sets a value specifying the appearance of a bubble marker.
Namespace: DevExpress.Xpf.Map
Assembly: DevExpress.Xpf.Map.v18.2.dll
Declaration
Property Value
Type | Description |
---|---|
MarkerType | A MarkerType enumeration value. |
Available values:
Name | Description |
---|---|
Square | A marker is drawn as a square. |
Diamond | A marker is drawn as a diamond. |
Triangle | A marker is drawn as a triangle. |
InvertedTriangle | A marker is drawn as an inverted triangle. |
Circle | A marker is drawn as a circle. |
Plus | A marker is drawn as a plus sign. |
Cross | A marker is drawn as a cross. |
Star5 | A marker is drawn as a five pointed star. |
Star6 | A marker is drawn as a six pointed star. |
Star8 | A marker is drawn as an eight pointed star. |
Pentagon | A marker is drawn as a pentagon. |
Hexagon | A marker is drawn as a hexagon. |
Custom | The custom marker type. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to MarkerType |
---|---|
BubbleChartDataAdapter |
|
Example
This example shows how to specify a custom marker template to be used by automatically generated bubble chart items.
To do this, create a MapBubbleSettings object and assign it to the BubbleChartDataAdapter.BubbleSettings property of the BubbleChartDataAdapter. Then, specify the MapBubbleSettings.CustomMarkerTemplate property of the object. Note that the MapBubbleSettings.MarkerType
property should be set to Custom.
Note
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-specify-custom-marker-template-for-auto-generated-bubble-chart-items-t212567.
<dxm:BubbleChartDataAdapter.BubbleSettings>
<dxm:MapBubbleSettings MarkerType="Custom">
<dxm:MapBubbleSettings.CustomMarkerTemplate>
<DataTemplate>
<Rectangle Fill="{Binding Fill}"
Stroke="{Binding Stroke}"/>
</DataTemplate>
</dxm:MapBubbleSettings.CustomMarkerTemplate>
</dxm:MapBubbleSettings>
</dxm:BubbleChartDataAdapter.BubbleSettings>
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the MarkerType property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.