MapPie.RotationDirection Property
Gets or sets the direction in which pie slices should be rotated.
Namespace: DevExpress.XtraMap
Assembly: DevExpress.XtraMap.v19.2.dll
Declaration
[DefaultValue(RotationDirection.CounterClockwise)]
public RotationDirection RotationDirection { get; set; }
Property Value
Type | Default | Description |
---|---|---|
RotationDirection | **CounterClockwise** | A RotationDirection enumeration value. |
Available values:
Name | Description |
---|---|
Clockwise | Specifies a clockwise pie slice rotation. |
CounterClockwise | Specifies a counter-clockwise pie slice rotation. |
Example
Note
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-customize-map-pie-parameters-t202713
private void lbRotationDirection_SelectedIndexChanged(object sender, EventArgs e) {
pie.RotationDirection = (RotationDirection)lbRotationDirection.SelectedValue;
}
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RotationDirection 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.