dotnetCHARTING Send comments on this topic.
HatchStylePalette Property
See Also  Example
dotnetCHARTING Namespace > Chart Class : HatchStylePalette Property


Gets or sets a hatch style palette that will trickle to all series on the chart. The hatch patterns will not show on chart elements if a hatch color is not specified. The default hatch color can be specified with the Chart.DefaultSeries.DefaultElement.HatchColor property.

Syntax

Visual Basic (Declaration) 
Public Property HatchStylePalette As HatchStyle()
Visual Basic (Usage)Copy Code
Dim instance As Chart
Dim value() As HatchStyle
 
instance.HatchStylePalette = value
 
value = instance.HatchStylePalette
C# 
public HatchStyle[] HatchStylePalette {get; set;}

Example

C#Copy Code
Chart.HatchStylePalette = new HatchStylePalette [] {HatchStyle.Cross,HatchStyle.Divot,HatchStyle.Horizontal};
    
Visual BasicCopy Code
Chart.HatchStylePalette = New HatchStylePalette [] {HatchStyle.Cross,HatchStyle.Divot,HatchStyle.Horizontal}

Remarks

For a complete list of hatch styles see HatchStyle enumeration.

See Also

© 2010 All Rights Reserved.