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.v24.2.dll
NuGet Package: DevExpress.Charts
#Declaration
public DXHatchStyle DXHatchStyle { get; set; }
#Property Value
Type | Description |
---|---|
DXHatch |
An enumeration value that indicates the hatch style. |
Available values:
Name | Description |
---|---|
Horizontal | A pattern of horizontal lines. |
Vertical | A pattern of vertical lines. |
Forward |
A pattern of lines on a diagonal from upper left to lower right. |
Backward |
A pattern of lines on a diagonal from upper right to lower left edges. |
Cross | Cross lines. |
Diagonal |
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. |
Light |
Diagonal lines that slant to the right from top points to bottom points and are spaced 50 percent closer together than |
Light |
Diagonal lines that slant to the left from top points to bottom points and are spaced 50 percent closer together than |
Dark |
Diagonal lines that slant to the right from top points to bottom points are spaced 50 percent closer and twice the width of |
Dark |
Diagonal lines that slant to the left from top points to bottom points are spaced 50 percent closer and twice the width of |
Wide |
Diagonal lines that slant to the right from top points to bottom points, have the same spacing as hatch style |
Wide |
Diagonal lines that slant to the left from top points to bottom points, have the same spacing as hatch style |
Light |
Vertical lines that are spaced 50 percent closer together than |
Light |
Horizontal lines that are spaced 50 percent closer together than |
Narrow |
Vertical lines that are spaced 75 percent closer together than hatch style |
Narrow |
Horizontal lines that are spaced 75 percent closer together than hatch style |
Dark |
Vertical lines that are spaced 50 percent closer than |
Dark |
Horizontal lines that are spaced 50 percent closer than |
Dashed |
Dashed diagonal lines that slant to the right from top points to bottom points. |
Dashed |
Dashed diagonal lines that slant to the left from top points to bottom points. |
Dashed |
Dashed horizontal lines. |
Dashed |
Dashed vertical lines. |
Small |
A confetti pattern. |
Large |
A confetti composed of larger pieces than |
Zig |
Horizontal lines that are composed of zigzags. |
Wave | Horizontal lines that are composed of tildes. |
Diagonal |
Layered bricks that slant to the left from top points to bottom points. |
Horizontal |
Horizontally layered bricks. |
Weave | A woven material pattern. |
Plaid | A plaid material pattern. |
Divot | Divot pattern. |
Dotted |
Horizontal and vertical crossed lines, each of which is composed of dots. |
Dotted |
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. |
Small |
Horizontal and vertical lines that cross and are spaced 50 percent closer together than hatch style Cross. |
Small |
A checkerboard pattern. |
Large |
A checkerboard with squares that are twice the size of |
Outlined |
Forward diagonal and backward diagonal lines that cross but are not antialiased. |
Solid |
A diagonally placed checkerboard. |
Large |
Crosses lines pattern. |
Min | Specifies the |
Max | Specifies the |
#Remarks
The HatchStyle
property specifies the hatch pattern used to fill a specific chart element.