Chart.BackHatchStyle Property

.NET Framework (current version)
 

Gets or sets the hatching style of the Chart control.

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 the Chart control. 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.

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

.NET Framework
Available since 4.0
Return to top
Show: