PolygonGradientFillOptions.GradientMode Property
Gets or sets the background gradient’s direction.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v25.1.dll
NuGet Package: DevExpress.Charts
Declaration
Property Value
| Type | Description |
|---|---|
| PolygonGradientMode | A PolygonGradientMode enumeration value which specifies the gradient’s direction. |
Available values:
| Name | Description |
|---|---|
| TopToBottom |
|
| BottomToTop |
|
| LeftToRight |
|
| RightToLeft |
|
| TopLeftToBottomRight |
|
| BottomRightToTopLeft |
|
| TopRightToBottomLeft |
|
| BottomLeftToTopRight |
|
| ToCenter |
|
| FromCenter |
|
Remarks
Use the GradientMode property to specify the gradient’s direction used to fill a polygon chart element.
Specifies a gradient from top to bottom.
Specifies a gradient from bottom to top.
Specifies a gradient from left to right.
Specifies a gradient from right to left.
Specifies a gradient from upper left to lower right.
Specifies a gradient from lower right to upper left.
Specifies a gradient from upper right to lower left.
Specifies a gradient from lower left to upper right.
Specifies a gradient that ends at the center.
Specifies a gradient that starts from the center.