ChartDataSetHatchStyle

<< Click to Display Table of Contents >>

Navigation:  Charts >

ChartDataSetHatchStyle

Previous pageReturn to chapter overviewNext page

[VCL only]

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 VPE.ChartDataSetHatchStyle(

pointer hData,

long Column,

integer HatchStyle

)

pointer hData

handle to ChartData object

long Column

column the line style shall be assigned to

integer HatchStyle

column the hatch style shall be assigned to; possible values are:

ActiveX / VCL

Value

Comment

hsNone

-1

see HatchStyle – possible styles

hsHorizontal

0

see HatchStyle – possible styles

hsVertical

1

see HatchStyle – possible styles

hsFDiagonal

2

see HatchStyle – possible styles

hsBDiagonal

3

see HatchStyle – possible styles

hsCross

4

see HatchStyle – possible styles

hsDiagCross

5

see HatchStyle – possible styles

Default:

hsNone (no hatching is used)

Example:

Doc.ChartDataSetHatchStyle(hData, 0, hsDiagCross)