VpeSetChartYLabelDivisor

<< Click to Display Table of Contents >>

Navigation:  Charts >

VpeSetChartYLabelDivisor

Previous pageReturn to chapter overviewNext page

(Chart Property) Sets the divisor for y-labels, if the y-labels are drawn automatically by VPE (ChartYLabelState = VCHART_LABEL_AUTO).

void VpeSetChartYLabelDivisor(

VpeHandle hDoc,

double ylabeldivisor

)

VpeHandle hDoc

Document Handle

double ylabeldivisor

the divisor for automatically drawn y-labels

Default:

1

Example:

Imagine, the ChartData object consists of one column with the values 1000, 2000, 3000

for ChartYLabelDivisor = 1 the y-labels are drawn as: "1000, 2000, 3000"

for ChartYLabelDivisor = 1000 the y-labels are drawn as: "1, 2, 3"