<< Click to Display Table of Contents >> VpeChartDataSetHatchStyle |
If you create a Bar-, Area- or Pie Chart from the ChartData, you can specify individual hatch styles for each column with this method. By default, no hatching is used.
void VpeChartDataSetHatchStyle(
VpeHandle hDoc,
VpeHandle hData,
int column,
int style
)
VpeHandle hDoc
Document Handle
VpeHandle hData
handle of ChartData object
int column
column the line style shall be assigned to
int style
column the hatch style shall be assigned to; possible values are:
Constant Name |
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:
HS_NONE (no hatching is used)
Example:
VpeChartDataSetHatchStyle(hDoc, hData, 0, HS_DIAGCROSS)