VpeSetChartXLabelStartValue

<< Click to Display Table of Contents >>

Navigation:  Charts >

VpeSetChartXLabelStartValue

Previous pageReturn to chapter overviewNext page

(Chart Property) Sets the start value for the x-labels. If the x-labeling is done automatically by VPE (i.e. ChartXLabelState = VCHART_LABEL_AUTO; see VpeSetChartXLabelState()), this is the start value where VPE will start to number each row.

void VpeSetChartXLabelStartValue(

VpeHandle hDoc,

int xlabelstartvalue

)

VpeHandle hDoc

Document Handle

int xlabelstartvalue

the start value for x-labels

Default:

0 (= labeling will start at 0)

Example:

By default, VPE will label the x-axis with "0, 1, 2, 3, ..."

 

with:

VpeSetChartXLabelStartValue(hDoc, 7)

VPE will label the x-axis with "7, 8, 9, 10, ..."