HatchFillOptions.DXHatchStyle Property
Gets or sets the hatch style used for background filling. Use this property in non-Windows environments.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v25.1.dll
NuGet Package: DevExpress.Charts
Declaration
Property Value
| Type | Description |
|---|---|
| DXHatchStyle | An enumeration value that indicates the hatch style. |
Available values:
| Name | Description |
|---|---|
| Horizontal | A pattern of horizontal lines. |
| Vertical | A pattern of vertical lines. |
| ForwardDiagonal | A pattern of lines on a diagonal from upper left to lower right. |
| BackwardDiagonal | A pattern of lines on a diagonal from upper right to lower left edges. |
| Cross | Cross lines. |
| DiagonalCross | Crisscross diagonal lines. |
| Percent05 | A 5-percent hatch. The ratio of foreground color to background color is 5:95. |
| Percent10 | A 10-percent hatch. The ratio of foreground color to background color is 10:90 |
| Percent20 | A 20-percent hatch. The ratio of foreground color to background color is 20:80. |
| Percent25 | A 25-percent hatch. The ratio of foreground color to background color is 25:75. |
| Percent30 | A 30-percent hatch. The ratio of foreground color to background color is 30:70. |
| Percent40 | A 40-percent hatch. The ratio of foreground color to background color is 40:60. |
| Percent50 | A 50-percent hatch. The ratio of foreground color to background color is 50:50. |
| Percent60 | A 60-percent hatch. The ratio of foreground color to background color is 60:40. |
| Percent70 | A 70-percent hatch. The ratio of foreground color to background color is 70:30. |
| Percent75 | A 75-percent hatch. The ratio of foreground color to background color is 75:25. |
| Percent80 | A 80-percent hatch. The ratio of foreground color to background color is 80:100. |
| Percent90 | A 90-percent hatch. The ratio of foreground color to background color is 90:10. |
| LightDownwardDiagonal | Diagonal lines that slant to the right from top points to bottom points and are spaced 50 percent closer together than |
| LightUpwardDiagonal | Diagonal lines that slant to the left from top points to bottom points and are spaced 50 percent closer together than |
| DarkDownwardDiagonal | Diagonal lines that slant to the right from top points to bottom points are spaced 50 percent closer and twice the width of |
| DarkUpwardDiagonal | Diagonal lines that slant to the left from top points to bottom points are spaced 50 percent closer and twice the width of |
| WideDownwardDiagonal | Diagonal lines that slant to the right from top points to bottom points, have the same spacing as hatch style |
| WideUpwardDiagonal | Diagonal lines that slant to the left from top points to bottom points, have the same spacing as hatch style |
| LightVertical | Vertical lines that are spaced 50 percent closer together than |
| LightHorizontal | Horizontal lines that are spaced 50 percent closer together than |
| NarrowVertical | Vertical lines that are spaced 75 percent closer together than hatch style |
| NarrowHorizontal | Horizontal lines that are spaced 75 percent closer together than hatch style |
| DarkVertical | Vertical lines that are spaced 50 percent closer than |
| DarkHorizontal | Horizontal lines that are spaced 50 percent closer than |
| DashedDownwardDiagonal | Dashed diagonal lines that slant to the right from top points to bottom points. |
| DashedUpwardDiagonal | Dashed diagonal lines that slant to the left from top points to bottom points. |
| DashedHorizontal | Dashed horizontal lines. |
| DashedVertical | Dashed vertical lines. |
| SmallConfetti | A confetti pattern. |
| LargeConfetti | A confetti composed of larger pieces than |
| ZigZag | Horizontal lines that are composed of zigzags. |
| Wave | Horizontal lines that are composed of tildes. |
| DiagonalBrick | Layered bricks that slant to the left from top points to bottom points. |
| HorizontalBrick | Horizontally layered bricks. |
| Weave | A woven material pattern. |
| Plaid | A plaid material pattern. |
| Divot | Divot pattern. |
| DottedGrid | Horizontal and vertical crossed lines, each of which is composed of dots. |
| DottedDiamond | Forward diagonal and backward diagonal crosses lines, each of which is composed of dots. |
| Shingle | Diagonally layered shingles that slant to the right from top points to bottom points. |
| Trellis | Trellis pattern. |
| Sphere | Spheres laid adjacent to one another. |
| SmallGrid | Horizontal and vertical lines that cross and are spaced 50 percent closer together than hatch style Cross. |
| SmallCheckerBoard | A checkerboard pattern. |
| LargeCheckerBoard | A checkerboard with squares that are twice the size of |
| OutlinedDiamond | Forward diagonal and backward diagonal lines that cross but are not antialiased. |
| SolidDiamond | A diagonally placed checkerboard. |
| LargeGrid | Crosses lines pattern. |
| Min | Specifies the |
| Max | Specifies the |
Remarks
The HatchStyle property specifies the hatch pattern used to fill a specific chart element.