This documentation is archived and is not being maintained.

ChartHatchStyle Enumeration

Specifies a hatching style for a chart element.

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public enum ChartHatchStyle

Member nameDescription
NoneNo hatching style.
BackwardDiagonalBackward diagonal style.
CrossCross style.
DarkDownwardDiagonalDark downward diagonal style.
DarkHorizontalDark horizontal style.
DarkUpwardDiagonalDark upward diagonal style.
DarkVerticalDark vertical style.
DashedDownwardDiagonalDashed downward diagonal style.
DashedHorizontalDashed horizontal style.
DashedUpwardDiagonalDashed upward diagonal style.
DashedVerticalDashed vertical style.
DiagonalBrickDiagonal brick style.
DiagonalCrossDiagonal cross style.
DivotDivot style.
DottedDiamondDotted diamond style.
DottedGridDotted grid style.
ForwardDiagonalForward diagonal style.
HorizontalHorizontal style.
HorizontalBrickHorizontal brick style.
LargeCheckerBoardLarge checker board style.
LargeConfettiLarge confetti style.
LargeGridLarge grid style.
LightDownwardDiagonalLight downward diagonal style.
LightHorizontalLight horizontal style.
LightUpwardDiagonalLight upward diagonal style.
LightVerticalLight vertical style.
NarrowHorizontalNarrow horizontal style.
NarrowVerticalNarrow vertical style.
OutlinedDiamondOutlined diamond style.
Percent05Percent05 style.
Percent10Percent10 style.
Percent20Percent20 style.
Percent25Percent25 style.
Percent30Percent30 style.
Percent40Percent40 style.
Percent50Percent50 style.
Percent60Percent60 style.
Percent70Percent70 style.
Percent75Percent75 style.
Percent80Percent80 style.
Percent90Percent90 style.
PlaidPlaid style.
ShingleShingle style.
SmallCheckerBoardSmall checker board style.
SmallConfettiSmall confetti style.
SmallGridSmall grid style.
SolidDiamondSolid diamond style.
SphereSphere style.
TrellisTrellis style.
VerticalVertical style.
WaveWave style.
WeaveWeave style.
WideDownwardDiagonalWide downward diagonal style.
WideUpwardDiagonalWide upward diagonal style.
ZigZagZigzag style.

The ChartHatchStyle enumeration represents the hatching styles that can be used for numerous chart elements, such as the ChartArea, Legend, and so forth.

Setting the BackHatchStyle property of a chart element object to any member of this enumeration except None will cause the corresponding hatching style to be applied to the chart element.

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.