VpeSetChartLegendPosition

<< Click to Display Table of Contents >>

Navigation:  Charts >

VpeSetChartLegendPosition

Previous pageReturn to chapter overviewNext page

(Chart Property) Sets the legend position for the next created chart object.

void VpeSetChartLegendPosition(

VpeHandle hDoc,

int legendpos

)

VpeHandle hDoc

Document Handle

int legendpos

possible values are:

Constant Name

Value

Comment

VCHART_LEGENDPOS_NONE

-1

No legend drawn

VCHART_LEGENDPOS_RIGHT

0

 

VCHART_LEGENDPOS_RIGHT_TOP

1

 

VCHART_LEGENDPOS_RIGHT_BOTTOM

2

 

VCHART_LEGENDPOS_LEFT

3

 

VCHART_LEGENDPOS_LEFT_TOP

4

 

VCHART_LEGENDPOS_LEFT_BOTTOM

5

 

VCHART_LEGENDPOS_TOP

6

 

VCHART_LEGENDPOS_BOTTOM

7

 

Default:

VCHART_LEGENDPOS_LEFT_TOP