VpeSetChartYGridStep

<< Click to Display Table of Contents >>

Navigation:  Charts >

VpeSetChartYGridStep

Previous pageReturn to chapter overviewNext page

(Chart Property) Sets the y-grid-step for the next created chart object.

The y-grid-step determines at what value on the y-axis a y-grid-line is drawn.

void VpeSetChartYGridStep(

VpeHandle hDoc,

double gridstepy

)

VpeHandle hDoc

Document Handle

double gridstepy

the grid stepping

Default:

Auto (see: VpeSetChartYAutoGridStep())

Example:

VpeSetChartYGridStep(hDoc, 5)

means, a y-grid line is drawn at y-values in a distance of 5

(e.g. a y-grid-line is drawn at -10, -5, 0, 5, 10, 15, 20, ...)

 

 

VpeSetChartYGridStep(hDoc, 10)

means, a y-grid line is drawn at y-values in a distance of 10

(e.g. a y-grid-line is drawn at -20, -10, 0, 10, 20, 30, ...)