Skip to main content
A newer version of this page is available. .

MapPie Class

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

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v18.1.dll

Declaration

public class MapPie :
    MapPathBase<PieSegment>,
    IMapContainerDataItem,
    ISupportCoordLocation,
    IMapChartItem,
    IMapChartDataItem,
    IMapDataItem,
    ITemplateGeometryItem,
    ILocatableRenderItem,
    IPointCore

The following members accept/return MapPie objects:

Remarks

The following image shows an example of a map Pie chart.

MapPieExample

Example

var pie = new MapPie() { Location = new GeoPoint(-20, -30), Size = 100 };
pie.Segments.AddRange(new PieSegment[] {
    new PieSegment(){ Argument = "A", Value = 2},
    new PieSegment(){ Argument = "B", Value = 3},
    new PieSegment(){ Argument = "C", Value = 4}
});
ItemStorage.Items.Add(pie);

The following code snippets (auto-collected from DevExpress Examples) contain references to the MapPie class.

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.

Implements

See Also