VpeSetChartYLabelStep

<< Click to Display Table of Contents >>

Navigation:  Charts >

VpeSetChartYLabelStep

Previous pageReturn to chapter overviewNext page

(Chart Property) Sets the y-label-step for the next created chart object. The y-label-step determines the n-th y-grid-line where a label is drawn.

void VpeSetChartYLabelStep(

VpeHandle hDoc,

int ylabelstep

)

VpeHandle hDoc

Document Handle

int ylabelstep

the n-th y-grid line where a label is drawn

Default:

1 ( = each y-grid line a label is drawn)

Remarks:

This property is always in effect, regardless if ChartYLabelState is VCHART_LABEL_USER or VCHART_LABEL_AUTO.

Example:

VpeSetChartYGridStep(hDoc, 1)

means, at each y-grid line a label is drawn at the y-axis.

 

VpeSetChartYGridStep(hDoc, 2)

means, that a label is only drawn each 2nd y-grid line.