MapPie Class
The class used to draw a pie chart on a map.
Namespace: DevExpress.XtraMap
Assembly: DevExpress.XtraMap.v19.1.dll
Declaration
public class MapPie :
MapPathBase<PieSegment>,
IMapContainerDataItem,
IMapDataItem,
ISupportCoordLocation,
IMapChartItem,
IMapChartDataItem,
ITemplateGeometryItem,
ILocatableRenderItem,
ISizedPointCore,
IPointCore,
IClusterable,
IClusterItemCore,
IClusterItem
Related API Members
The following members return MapPie objects:
Remarks
The following image shows an example of a map Pie chart.
Example
Note
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-create-different-map-shapes-t139819
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);
Implements
Inheritance
See Also