SetHatchStyle

<< Click to Display Table of Contents >>

Navigation:  Charts >

SetHatchStyle

Previous pageReturn to chapter overviewNext page

[ActiveX, .NET, Java, PHP, etc., method of the TVPEChartData object]

If you create a Bar-, Area- or Pie Chart from the Chart Data, you can specify individual hatch styles for each column with this method. By default, no hatching is used.

method void TVPEChartData.SetHatchStyle(

int Column,

HatchStyle HatchStyle

)

int Column

column the line style shall be assigned to

HatchStyle HatchStyle

possible values are:

Value

Comment

None

see HatchStyle – possible styles

Horizontal

see HatchStyle – possible styles

Vertical

see HatchStyle – possible styles

ForwardDiagonal

see HatchStyle – possible styles

BackwardDiagonal

see HatchStyle – possible styles

Cross

see HatchStyle – possible styles

DiagonalCross

see HatchStyle – possible styles

Default:

HatchStyle.None (no hatching is used)

Example:

Data.SetHatchStyle(0, HatchStyle.DiagonalCross)