VpeSetChartXLabelStep

<< Click to Display Table of Contents >>

Navigation:  Charts >

VpeSetChartXLabelStep

Previous pageReturn to chapter overviewNext page

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

void VpeSetChartXLabelStep(

VpeHandle hDoc,

int xlabelstep

)

VpeHandle hDoc

Document Handle

int xlabelstep

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

Default:

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

Remarks:

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

Example:

VpeSetChartXGridStep(hDoc, 1)

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

 

VpeSetChartXGridStep(hDoc, 2)

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