VpeSetChartGridType

<< Click to Display Table of Contents >>

Navigation:  Charts >

VpeSetChartGridType

Previous pageReturn to chapter overviewNext page

(Chart Property) Sets the grid type for the next created chart object.

void VpeSetChartGridType(

VpeHandle hDoc,

int gridtype

)

VpeHandle hDoc

Document Handle

int gridtype

possible values are:

Constant Name

Value

Comment

VCHART_GRID_NONE

-1

No Grid is drawn

VCHART_GRID_BOTH_AXIS

0

Grid is drawn for both axis

VCHART_GRID_X_AXIS

1

Grid is only drawn for the x-axis

VCHART_GRID_Y_AXIS

2

Grid is only drawn for the y-axis

Default:

VCHART_GRID_BOTH_AXIS