Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

ChartHatchStyle Enumeration

.NET Framework 4.6 and 4.5

Specifies a hatching style for a chart element.

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

'Declaration
Public Enumeration ChartHatchStyle

Member nameDescription
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.
NoneNo hatching 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.6, 4.5, 4
Show:
© 2015 Microsoft