ChartArea.BackHatchStyle Property

Gets or sets the hatching style of a ChartArea object.

Namespace:  System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

[BindableAttribute(true)]
public ChartHatchStyle BackHatchStyle { get; set; }

Property Value

Type: System.Windows.Forms.DataVisualization.Charting.ChartHatchStyle
A ChartHatchStyle enumeration that specifies the hatching style of a chart area. The default value is None.

The ChartHatchStyle enumeration specifies the hatch pattern used by a brush of type HatchBrush. The hatch pattern consists of a solid background color and lines drawn over the background.

For a listing of available hatching styles, refer to the ChartHatchStyle enumeration.

NoteNote

The color of hatching lines is determined by the BackSecondaryColor property.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft